GVB
GVB copied to clipboard
Running error
Traceback (most recent call last):
File "train_image.py", line 204, in
Well, line 203 tries to create the directory of 'office-home/san', and line 204 tries to create and write to the file. I wonder whether you have succesfully create the directory of 'office-home/san'.
I created this directory according to your statement, and carried out the data set migration, but the same error still occurred. Can you publish the location of the dataset,It may be caused by a problem with the directory I created。
The dataset could be found in "https://github.com/cuishuhao/GVB/tree/master/data/office-home". While I don't think it is the problem. The code could automaticly create the directory, without manually created. I think this is the problem to solve.
Can I ask how you can solve it
I downloaded your code without modification, but still reported this error
- What environment are you using? python3? linux? 2.'office-home/san\log.txt', I think it unusual for '' and '/'
- I think you might have problems in 'mkdir', you might run the code with 'sudo'
python3 under window10.I tried using sudo and still the same error
I ran the code in linux, and there are some differences on the file path between windows and linux. Since less codes are completed on windows, I recommend you to utilize the linux environment.
Thank you very much