-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nus_wide dataset problem #24
Comments
You may check the directory you running the code. It needs to be the . in ./data |
Hi Josiane,
Sorry for the late reply. Yes, I've solved it, as the author said, the
directory is wrong.
The error ` FileNotFoundError: [Errno 2] No such file or directory:
'./data/nuswide_81/images/93478_2084149655_e5049606da_m.jpg `, is because
of ./ does not return to the parent directory, but ../ do. So all you need
to do is to write a python program, which adds . in the beginning of each
line in the file `nuswide81/images/train.txt`
…On Thu, Feb 21, 2019 at 2:27 AM Josiane Rodrigues da Silva < ***@***.***> wrote:
Hi @LiYuhang20 <https://github.com/LiYuhang20>,
I had the same problem. Did you solve it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AqBmlIZMGbKeV51b7DBQPDGs648gl9oMks5vPZOlgaJpZM4Z6set>
.
|
thank you! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I followed the instructions in the markdown file, but i got some problem with the nus_wide dataset.
I noticed that you changed the directory
./data/nus_wide
to.data/nuswide_81
, so I change the code in train.pyAnd when I run the train.py using the following command:
python train.py --gpu_id 0 --dataset nus_wide --prefix resnet50_hashnet --hash_bit 48 --net ResNet50 --lr 0.0003 --class_num 1.0
There is a no such file error:
And when I run it another time, it says another jpg that do not exist in images directory. However, I'm sure those jpg are in the images directory. Could you please help me fix that? Thank you!
And I use pytorch 0.4.0, would that be the reason?
The text was updated successfully, but these errors were encountered: