show_attend_and_tell.tensorflow icon indicating copy to clipboard operation
show_attend_and_tell.tensorflow copied to clipboard

Cannot initialize the CNN in the cnn_util.py file

Open CanyonWind opened this issue 8 years ago • 0 comments

  1. I downloaded the VGG_19 model from here: https://github.com/jcjohnson/neural-style/issues/202
  2. Changed vgg_model and vgg_deploy path in make_flickr_dataset.py
  3. Run make_flickr_dataset.py, it stucks at cnn = CNN(model=vgg_model, deploy=vgg_deploy, width=224, height=224)

Any suggestion? Thanks so much!!!

It seems like some problem about LMDB...

/home/alex/anaconda2/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') WARNING: Readline services not available or not loaded. WARNING: The auto-indent feature requires the readline library Backend Qt4Agg is interactive backend. Turning interactive mode on. WARNING: Logging before InitGoogleLogging() is written to STDERR I1003 00:49:16.097299 11216 upgrade_proto.cpp:52] Attempting to upgrade input file specified using deprecated V1LayerParameter: /home/alex/caffe/models/vgg/VGG_ILSVRC_19_layers_deploy.prototxt I1003 00:49:16.097414 11216 upgrade_proto.cpp:60] Successfully upgraded file specified using deprecated V1LayerParameter I1003 00:49:16.097470 11216 net.cpp:313] The NetState phase (1) differed from the phase (0) specified by a rule in layer data I1003 00:49:16.097595 11216 net.cpp:49] Initializing net from parameters: ... I1003 00:49:16.097708 11216 layer_factory.hpp:77] Creating layer data I1003 00:49:16.098646 11216 net.cpp:91] Creating Layer data I1003 00:49:16.098654 11216 net.cpp:399] data -> data I1003 00:49:16.098672 11216 net.cpp:399] data -> label F1003 00:49:16.099346 11248 db_lmdb.hpp:15] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory *** Check failure stack trace: ***

CanyonWind avatar Oct 03 '16 05:10 CanyonWind