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

how to train my own dataset #2

Closed
yustaub opened this issue Apr 4, 2020 · 7 comments
Closed

how to train my own dataset #2

yustaub opened this issue Apr 4, 2020 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@yustaub
Copy link

yustaub commented Apr 4, 2020

the imagenet dataset is to big, and I want to train with my own dataset , can this repo support train own dataset?very appreciate for your reply!

@nrupatunga
Copy link
Owner

In order to train on your dataset:

Dataset Preparation

In order to merge both Imagenet and alov, I have used a custom collate_fn in

Each of the scripts is individually debuggable, please go through each of them in the above order to understand the functionality.

Training Script

Let me know if you face any issues.

@yustaub
Copy link
Author

yustaub commented Apr 5, 2020

@nrupatunga thk for your reply, I just find my machine can only support pytorch 1.1 at most( I can not upgrade the driver of the machine),when I use pytorch 1.4 which is in requirements.txt, then cuda can not work, can this repo support pytorch 1.1 ?if it can,where should I change?

@nrupatunga
Copy link
Owner

Though I haven't tested with PyTorch-1.1, It should work.
You just need to install PyTorch 1.1 and try to use it.

You can refer https://pytorch.org/get-started/previous-versions/ for previous versions of PyTorch.

@nrupatunga
Copy link
Owner

In order to understand the current working of the data loaders, you can use a smaller dataset to understand it, which you can download it here

@nrupatunga nrupatunga added the documentation Improvements or additions to documentation label Apr 5, 2020
@yustaub
Copy link
Author

yustaub commented Apr 5, 2020

@nrupatunga thanks for your quick reply!!.I have install pytorch 1.1 and cuda can work, and I test the repo, it always Please run $source settings.sh from root directory' ,although I have run source settings.sh many times, when I change the pytorch to 1.4 version, it can work but cuda can not support the pytorch1.4.

@nrupatunga
Copy link
Owner

This might be the case, where you are missing other dependencies.
Can you try debugging using pdb.

@yustaub
Copy link
Author

yustaub commented Apr 5, 2020

ok, thank you very much!!!

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

No branches or pull requests

2 participants