Closed brando90 closed 2 years ago
This is tricky as it conflicts with the data_augmentation
argument of mini-ImageNet and tiered-ImageNet. In fact, the point of get_tasksets
is to replicate common benchmarks in the literature so that we can make apples-apples comparisons.
In your case, you might want to define your own benchmark setups with your own transforms like you did (in which case you probably want to use transforms
instead of train_transforms
, valid_transforms
, and test_transforms
at the bottom of your implementation).
hmmm... but most benchmarks use some type of data augmentation...you already have the "right" transforms for Mini-Imagenet. The cifarfs one's seem to give only tensors. Isn't that none standard for cifarfs? (I guess I am arguing the ones I am using for cifarfs are the apples-to-apples one. The mini-imagenet ones seem correct witht he flag you gave). Correct me if I am wrong.
On Feb 7, 2022, at 6:47 PM, Séb Arnold @.***> wrote:
This is tricky as it conflicts with the data_augmentation argument of mini-ImageNet and tiered-ImageNet. In fact, the point of get_tasksets is to replicate common benchmarks in the literature so that we can make apples-apples comparisons.
In your case, you might want to define your own benchmark setups with your own transforms like you did (in which case you probably want to use transforms instead of train_transforms, valid_transforms, and test_transforms at the bottom of your implementation).
— Reply to this email directly, view it on GitHub https://github.com/learnables/learn2learn/issues/304#issuecomment-1032096534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOE6LV23W2WEHUCBVGFBS3U2BRZVANCNFSM5NUFG5XQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.
Indeed, I think we can add the rfs augmentation you proposed in your PR -- thanks for that! I'm having a look at it now, will comment soon.
Sounds good. Let me know if you do plan to reject based on not being standard or not being apples to apples. I was proposing those augmentation because I indeed thought they were the standard cifar-fs transformations. I don't know anyone that passes the tensors of the images directly as the current code does -- hence my suggestion. :)
Thanks for l2l, I am really enjoying it! It's simple and the memory usage seems to be much lower.
On Feb 7, 2022, at 6:55 PM, Séb Arnold @.***> wrote:
Indeed, I think we can add the rfs augmentation you proposed in your PR -- thanks for that! I'm having a look at it now, will comment soon.
— Reply to this email directly, view it on GitHub https://github.com/learnables/learn2learn/issues/304#issuecomment-1032100874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOE6LRVNZF5AGT23BT25ZDU2BSYPANCNFSM5NUFG5XQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.
Is it possible to expand
s.t. we can feed the train, val, test transforms we want?
e.g. is
correct?