A question about train

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by reading prepare_data.py and checking how it handles the data path and validation files. Reproduce the missing-file error, then verify whether ValidationNoisyBlocksSrgb.mat and ValidationGtBlocksSrgb.mat are generated where the shown loadmat calls expect them. Done means the preparation step produces those files and the validation loading code runs successfully.

Written by the indexing model from the issue text.

Description

Hello, when I try to run this code, an error occured:FileNotFoundError: [Errno 2] No such file or directory: 'data/sidd/ValidationNoisyBlocksSrgb.mat'. Then I find ValidationNoisyBlocksSrgb.mat and ValidationGtBlocksSrgb.mat are not generated afterI run prepare_data.py

val_data_dict = loadmat(os.path.join(path, 'ValidationNoisyBlocksSrgb.mat'))
val_data_noisy = val_data_dict['ValidationNoisyBlocksSrgb']
val_data_dict = loadmat(os.path.join(path,'ValidationGtBlocksSrgb.mat'))
val_data_gt = val_data_dict['ValidationGtBlocksSrgb']

Dominant language
Python
Stars
156
Forks
22
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MegEngine/NBNet

All issues in MegEngine/NBNet

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.