tensor_holography icon indicating copy to clipboard operation
tensor_holography copied to clipboard

Validating and evaluating the pretrained model is not working.

Open BaccarAla90 opened this issue 2 years ago • 2 comments

Hello @liangs111!

I am getting AttributeError: 'OwnedIterator' object has no attribute 'string_handle' when running python main.py --validate-mode, and RuntimeError: tf.placeholder() is not compatible with eager execution. when running python main.py --eval-mode.

Great work by the way. Thank you for your time!

BaccarAla90 avatar Jun 26 '22 21:06 BaccarAla90

I came across the same problem when I ran the codes in a conda environment with python=3.6 and tensorflow-gpu=2.2. After I created a new environment following the instructions in the '''readme''' and ran the codes again, the codes can be run without this problem.

rongduo avatar Aug 31 '22 09:08 rongduo