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

Training with new data set #8

Open
msiraj83 opened this issue May 16, 2018 · 1 comment
Open

Training with new data set #8

msiraj83 opened this issue May 16, 2018 · 1 comment

Comments

@msiraj83
Copy link

hello..

I want to train your model on my own data set. First there is no train.py file in your code. However I study the main.py file and found code train_set = DatasetFromHdf5("../lapsrn/data/data.h5") on line no 46. From where it get the data.h5 file. Can you guide me how i will train the model on my own data set.

Thanks

@opteroncx
Copy link
Owner

Hi, you could generate the .h5 file with these matlab files or you could rewrite your dataloader.py to fit your own data.
https://github.com/twtygqyy/pytorch-LapSRN/tree/master/data
You could also use the --pretrained method in main.py to finetuning from my model if you want to train faster.

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