Skip to content

Instantly share code, notes, and snippets.

@OmriSteiner
OmriSteiner / fix_csprojs.py
Created June 30, 2022 10:51
Remove UNITY_EDITOR from Unity csproj files
#! /usr/bin/env python3
import xml.etree.ElementTree as ET
import argparse
import glob
import os.path
def extract_namespace(xml_root):
match xml_root.tag.split("}"):
case [tag]:
@OmriSteiner
OmriSteiner / keras_load_model_bug.ipynb
Last active December 22, 2021 14:33
Keras fails to load a SavedModel which contains __eq__/__ne__
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.