SeungjunNah/DeepDeblur-PyTorch

How can I run to the training?

bumjuncho opened this issue · 5 comments

Hi

Thanks for sharing your code.
I'd like to run to the training. But, I can't.
I already did download the code file and the GOPRO_Large file.
So, please explain how to run the training step by step.
test1

Where did you put the dataset?
Your error log says there is no data detected.

As written on usage examples, the default data_root is ~/Research/dataset.
It expects your data path like ~/Research/dataset/GOPRO_Large/train/GOPR0372_07_00/blur_gamma/....

Besides, did you run your code on a Windows device?
I only tested the code on Ubuntu devices and it may not work very well on Windows.
(however, the above error is not related to Windows OS)

Hi

My test environment
OS: window 10 x64
Tool: Conda-based the Spyder
Path : C:\Users\user.spyder-py3\DeepDeblur-PyTorch-master\src\Research\dataset\GOPRO_Large\train\GOPR0372_07_00\blur_gamma

image

What do I do missing?

In Ubuntu machines, ~ refers to your home directory.
In my case, my ubuntu username is seungjun.
ex) ~/Research/dataset is equivalent to /home/seungjun/Research/dataset

I'm not sure how Windows interprets '~'.
If you want to put your dataset in a custom location, you can provide the location as an input argument.
python main.py --data_root YOUR/DATASET/LOCATION

Thanks for the information.
I did it as you told me. In my case, it doesn't work.
I need to think more about it.

Closing due to inactivity.