-
Notifications
You must be signed in to change notification settings - Fork 6
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
imagenet #1
Comments
Thanks for your interest in our work! To train on Imagenet dataset or other image datasets in general in our framework, you need to do the following things:
Then you good to go. Thanks, |
Hi @senwu . Thank you for your response. Your results on CIFAR-10 is a really impressive one. I have tried to create the imagenet dataset object based on CIFARDataset. But, I'm facing issue with appending the data (as given in below). It came up with an error. if index is None: |
@PushparajaMurugan., me too. Can you share the code? |
@aryabhata-archive , I didn't make much modification. I have jus replaced the train_dataset , and test_dataset in get_dataloader based on "https://github.com/tgilewicz/uniformaugment/blob/master/UniformAugment/data.py". I don't see this need any more modification. I think. |
Can you share more information about your error? Maybe the snapshot of your error? Your understanding is correct, you don't need to modify too much code to run your dataset. If you want to use the exact setting for transformations, you only need the modify data.py and have your own dataset. Thanks, |
Hi @senwu , This is the error I got. It didn't generate much information about the error. It just says that "1302863 Killed". May be, It is like a memory error? I'm not sure though. Thanks, |
The log you shared above didn't provide any useful information. Can you directly run the cmd and share me all logs? Sen |
Hi @senwu , |
For our CIFAR exps, we use 12G GPU memory Titan X and 128G CPU memory. From the log, I cannot see any useful information. I would suggest you to use pdb to check what cause the issue. I don't think CPU memory will be the issue since we don't load huge data into CPU. For the dataset like ImageNet, we load from disk for every batch. |
hi @senwu, If that is the case, the problem is with my side, in "ImageNet dataloader function". Can I make a pull request, if that is ok? So that you can have a look at the code? Thanks |
Of course. Any contribution is welcome! Sen |
Hi @senwu , have a look at the pull request. Do let me know if anything needs to be changed. Thanks, |
Hi, How do we train imagenet data?
The text was updated successfully, but these errors were encountered: