Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

# python3 main.py --task robustness --numimage 10 --targettype random --norm i --modelfile ../models/mnist_3layer_relu_1024_adv_retrain --layerbndalg crown-adaptive --jacbndalg recurjac --eps 0.2 Loading model ../models/mnist_3layer_relu_1024_adv_retrain 2021-07-26 08:37:45.812888: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually. Model imported using keras Traceback (most recent call last): File "/home/RecurJac-and-CROWN-master/main.py", line 145, in <module> if input_dim[2] == 28 or input_dim[2] == "28": IndexError: list index out of range #2

Open
aspnetcs opened this issue Jul 26, 2021 · 0 comments

Comments

@aspnetcs
Copy link

base) root@dda65b730206:/home/RecurJac-and-CROWN-master# python3 main.py --task robustness --numimage 10 --targettype random --norm i --modelfile ../models/mnist_3layer_relu_1024_adv_retrain --layerbndalg crown-adaptive --jacbndalg recurjac --eps 0.2
Loading model ../models/mnist_3layer_relu_1024_adv_retrain
2021-07-26 08:37:45.812888: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING:tensorflow:No training configuration found in the save file, so the model was not compiled. Compile it manually.
Model imported using keras
Traceback (most recent call last):
File "/home/RecurJac-and-CROWN-master/main.py", line 145, in
if input_dim[2] == 28 or input_dim[2] == "28":
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant