I cloned the repository and followed the instructions as given by you guys on this github repo, but there are too many issues in the code. First, even though I installed the tensorflow as per the version given in requirements.txt
but there is no module named preprocessing
in slim
. Anyways I managed that but then I ran into the following errrors:
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'
Traceback (most recent call last):
File "cnn_feature_extractor.py", line 148, in <module>
tf.app.run()
File "/home/pdguest/Lalit/Selfie/HashtagPred/hashtag/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "cnn_feature_extractor.py", line 112, in main
processed_images, num_classes=1000, is_training=False
TypeError: resnet_v1_101() got an unexpected keyword argument 'is_training'