We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When multiple models exist, pretrained() from the second doesn't work.
pretrained()
import tensorflow as tf import tensornets as nets inputs = tf.placeholder(tf.float32, [None, 224, 224, 3]) model1 = nets.ResNet50(inputs, scope='abc') model2 = nets.Inception2(inputs, scope='def') model3 = nets.DenseNet121(inputs, scope='ghi') with tf.Session() as sess: sess.run(model1.pretrained()) # O try: sess.run(model2.pretrained()) # X except: print('X') try: sess.run(model3.pretrained()) # X except: print('X')
The text was updated successfully, but these errors were encountered:
Pass a scope name to pretrained when a model is created (#4)
pretrained
9af655e
No branches or pull requests
When multiple models exist,
pretrained()
from the second doesn't work.The text was updated successfully, but these errors were encountered: