Closed gd-zhang closed 2 years ago
Hi, you can pass the parameters --resolution.min_res=224 --resolution.max_res=224
to the script and you will get 224px training.
Not sure what is going on in the script you've posted, but these settings will certainly work with the ffcv training script in this repo. If you have data loading issues you should make an issue on the ffcv repository.
I've been trying to use your FFCV data loader for imagenet training. I find the provided example hard to follow as you use progressive resizing. I wonder if you could provide a complete example with the most commonly used resolution 224.
I have also coded it up myself, but I found the validation accuracy is significantly lower than the training accuracy in my case (see attached code snippet below). For example, after 3 epochs, the training ACC is around 40%, but the validation is only 15%.