Open favouriter opened 6 years ago
filenames = sorted(glob.glob("../colornet//.jpg")) File "train.py", line 179, in colorimage = input_pipeline(filenames, batch_size, num_epochs=num_epochs) File "train.py", line 31, in input_pipeline filenames, num_epochs=num_epochs, shuffle=False)
This problem cause by:
filenames = sorted(glob.glob("../colornet//.jpg"))
at line 8 of train.py.Program can't find any .jpg file under this direction because all images are .png form.You can solve this problem by put some jpg image files in this direction or just change this line into:
filenames = sorted(glob.glob("../colornet//"))
yes,just remove the '.jpg'..........=.= But another bug will appear:
Traceback (most recent call last):
File "train.py", line 185, in
I'm still work on it now. =.=
PS: My English is sucks,So I will appreciate whoever point out any mistake I made in this answer
Any update about shape error? @RibbonsAlmark
filenames = sorted(glob.glob("../colornet//.jpg")) File "train.py", line 179, in
colorimage = input_pipeline(filenames, batch_size, num_epochs=num_epochs)
File "train.py", line 31, in input_pipeline
filenames, num_epochs=num_epochs, shuffle=False)