caffe-windows
caffe-windows copied to clipboard
invalid mode ('wb') or filename
Hi, Mr.Wang I am sorry to disturb you again.
The web demo could be run successfully, however, when I uploaded a image , it generated errors:
INFO:root:Uploaded image open error: [Errno 22] invalid mode ('wb') or filename:
'./caffe_demos_uploads\2016-02-04_15:50:16.992000573193813810.jpg'
I tried to modify on "UPLOAD_FOLDER" but failed each time.
Hi, Mr.Wang
Happy Chinese New Year and wish all the best to you!
B.R Anguo
Sorry for late rely. There should not be any : in the file name. I think you may add a line in the script to replace it to other words.
Hi The code is
data = {"embeddings": knownEmbeddings, "names": knownNames}
f = open(args["embeddings"], "wb")
f.write(pickle.dumps(data))
where embedding refers to output/embeddings.pickle and i am getting the error
File "extract_embeddings.py", line 117, in
Please help me in manipulating the path to the folder.