You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to replicate the extraction from an EMNIST network to MLCert. This is as far as I've gotten trying to get the code in NNCert to work, patching things up as I go:
I'm currently trying to replicate the extraction from an EMNIST network to MLCert. This is as far as I've gotten trying to get the code in NNCert to work, patching things up as I go:
Install Miniconda
conda create --name NNCert python=3.5conda activate NNCertpip install tensorflow==1.6.1Download EMNIST
Patch
MLCert/NNCert/tf/extract_emnist.py:emnist_load_data()toemnist_load_data(<path/to/emnist>)<path/to/emnist>/emnistpython extract_emnist.py(fromMLCert/NNCert/tf)Patch
MLCert/NNCert/tf/dataset_params.py:make_dataset:Patch
MLCert/NNCert/tf/pca.py:_, _, _, _, _, load_data = ..to_, load_data = ..python pca.py(fromMLCert/NNCert/tf)Rename generated files
<path/to/emnist>/emnist/{train,test,validation}_reduced.pklto<path/to/emnist>/emnist/{train,test,validation}_pca.pklPatch
MLCert/NNCert/tf/Makefile:train.pytomain.pyeval.pytomain.pyPatch
MLCert/NNCert/tf/main.py:hidden_sizes = map(..)tohidden_sizes = list(map(..))make(fromMLCert/NNCert/tf)😭😭😭