jiequancui / ResLT

ResLT: Residual Learning for Long-tailed Recognition (TPAMI 2022)
https://arxiv.org/pdf/2101.10633.pdf
MIT License
56 stars 5 forks source link

Variables are not defined in the code #6

Closed betterpig123 closed 2 years ago

betterpig123 commented 2 years ago

Sorry to bother you that

Code is incomplete, train_sampler is not defined in ImageNetTrain, And Can you explain root_path,dataset,data_path to me

Looking forward to your reply

jiequancui commented 2 years ago

Hi,

We use Dataparallel for multi-GPU training. Please use the training script provided by us.

The root_path is the directory where to store your training log and checkpoints. data_path is the directory for ImageNet.

You can try to run the code and get some feelings.