Open Shaw95 opened 4 years ago
One more question. What does the T represent in your paper. from your code, it seems to be the target_lb, however your paper refers T to search width and set to 2. Really hoping for your reply. It should be very helpful to my current work.
Thanks!
@Shaw95 I think T
is supposed to be this hard-coded 1:
For this to be consistent with the Algorithm 1, probably these two for
loops should be inverted (I guess K=cv_num
). If I understood correctly, the Figure 2 and the Algorithm 1 are also inconsistent. In Figure 2, the top-N selection is performed out of the T-loop while in the Algorithm 1 it is inside the loop. This inconsistency seems to be minor and these numbers seem completely arbitrary, therefore I would tune them anyway (ok, it would require minor changes in the code...).
I would recommend authors to explicitly provide the mapping between the inputs of Algorithm 1 and variables in the code. It would be extremely helpful.
@rodrigoberriel Thank you. I think they have updated their search coed This is the original one.
@Shaw95 @rodrigoberriel The code is really confusing...
I think T
supposed to be augment['num_policy']
in
https://github.com/kakaobrain/fast-autoaugment/blob/e79d0c78a0fbb5126cc1bbb2cbf4d001d6f680d6/FastAutoAugment/search.py#L88-L91
and 'stop': {'training_iteration': args.num_policy},
in
https://github.com/kakaobrain/fast-autoaugment/blob/e79d0c78a0fbb5126cc1bbb2cbf4d001d6f680d6/FastAutoAugment/search.py#L232-L244
If not, could you tell me why it need to be repeated args.num_policy
times?
btw, I still don't know what for _ in range(1):
means, this line happens more than one place.
Hi, @RenShuhuai-Andy and @Shaw95 did you manage to find out why calling the generator needs to be repeated args.num_policy of times? Technically they should get the same batch every time they call a generator and do one iteration of it (it is seeded). I looked at accuracies from 5 repetitions and they are not the same. Is it because of the fact that whether a particular transform will be applied is uncertain?
@ildoonet @sublee Hi, it is so nice of you guys to release the search code and will be much appreciated. While running with your search code and retrain with found policies, I still got some problems and hopefully you can help me figure them out.
Looking forward to your reply Thanks again.