Closed agaldran closed 6 years ago
That's strange. I was not able to reproduce your error, so I don't really know what went wrong in your case. I just updated the code such that the image dimensions are not read from dimensions.txt file, but default 299 by 299 pixels. This is the dimension that the script resizes the pictures to, so it should be OK. So please pull the code again and try to run ./train.py
.
I also specified the version of Python in the requirements, thanks for noticing!
Hi Mike!
I finally managed to run smoothly the eyepacs.sh script, but now I encountered a different issue. When running
train.py
, I receive the following error:I have been debugging this, stopping the execution before that line, and apparently the program reads the image dimensions from a text file called
dimensions.txt
insidedata/eyepacs/bin2/train
. Unfortunately, that text file seems to be empty. I've checked, and the same thing happens in theval
andtest
folders. Maybe I've done sth wrong?Thanks!
P.S.: off-topic, but this is more a comment than an issue. I first created a virtual environment with Python 3.5, but apparently your code needs Python 3.6 in order to understand the
format
functions the way you are using them. May I suggest adding to the requirements in thereadme.md
''Python >3.6'?'