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
{{ message }}
Repository navigation
What should I do if I want to change the model? #8
Currently CNN Explainer only supports the Tiny-VGG architecture that we described in our manuscript. If you want to use a different CNN model, then you would need to modify the code. If you want to use another pre-trained Tiny-VGG model, you can see the following functions in CNN Explainer (how we use tensorflow.js to load the model):
Activity
xiaohk commentedon May 6, 2020
Hello, this is related to #2.
Currently CNN Explainer only supports the Tiny-VGG architecture that we described in our manuscript. If you want to use a different CNN model, then you would need to modify the code. If you want to use another pre-trained Tiny-VGG model, you can see the following functions in CNN Explainer (how we use tensorflow.js to load the model):
cnn-explainer/src/overview/Overview.svelte
Lines 1116 to 1117 in 0a6e09e
cnn-explainer/src/utils/cnn-tf.js
Lines 414 to 422 in 0a6e09e
cnn-explainer/src/utils/cnn-tf.js
Lines 55 to 231 in 0a6e09e
cnn-explainer/src/utils/cnn-tf.js
Lines 233 to 270 in 0a6e09e
Let us know if you have more questions. I will close the issue for now :P
EricCousineau-TRI commentedon May 9, 2020
As an FYI, docs for converting to
TensorFlow.jsmodels:https://www.tensorflow.org/js/tutorials#convert_pretrained_models_to_tensorflowjs
Relates #12.