JWSoh / NatSR

Natural and Realistic Single Image Super-Resolution with Explicit Natural Manifold Discrimination (CVPR, 2019)
116 stars 20 forks source link

While testing getting error ... #5

Open NarasimmanSaravana1994 opened 4 years ago

NarasimmanSaravana1994 commented 4 years ago

@JWSoh

WARNING:tensorflow:From test.py:18: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

frame_19_10_2019_01_31_52_972.jpg =========== Processing Model NatSR =========== WARNING:tensorflow:From test.py:47: The name tf.train.import_meta_graph is deprecated. Please use tf.compat.v1.train.import_meta_graph instead.

WARNING:tensorflow:From test.py:48: The name tf.get_collection is deprecated. Please use tf.compat.v1.get_collection instead.

WARNING:tensorflow:From test.py:53: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

Model/NatSR WARNING:tensorflow:From /media/administrator/hdd/Licese_plate_RND/license_test/lib/python3.7/site-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version. Instructions for updating: Use standard file APIs to check for files with this prefix. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

JWSoh commented 4 years ago

It is probably the memory issue, running out of memory. Also check you are using the right tensorflow version for better compatibility.