Skip to content
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

Need for help when running val. Is there any file lost or need created by myself? #3

Open
leonmakise opened this issue Oct 11, 2020 · 1 comment

Comments

@leonmakise
Copy link

When I did what you ask, and training 1 epoch, I encounter an error for val.
Traceback (most recent call last):
File "train.py", line 322, in
main()
File "train.py", line 307, in main
mIoU, f1 = compute_mean_ioU(parsing_preds, scales, centers, args.num_classes, args.data_dir, input_size, 'test', True)
File "/data/users/majiaqi/EAGRNet/utils/miou.py", line 104, in compute_mean_ioU
proj = np.load(os.path.join(datadir, 'project', im_name + '.npy'))
File "/data/users/majiaqi/.local/lib/python3.6/site-packages/numpy/lib/npyio.py", line 428, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: './dataset/Helen/project/1019068877_1.npy'

It seems that miou.py need some kind of .npy file for each image.
Can you provide some advice? Thanks a lot!

@wxqlab
Copy link

wxqlab commented Nov 25, 2022

Hi, @leonmakise

do you solve this problem, I got the same problem with you. But I don't have any idea for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants