Open MarkAlive opened 5 years ago
I think you can choose the weight of resource constraint as long as it's neither too big nor too small. For example, loss of resource : loss of classification = 1 : 10
That's just my point of view. Hope to help.
thanks @JunrQ , these are my experiment results:
It seams that 1e-9 is not suitable for your new code. Experiment outputs costs is about 6e-04, and the accompany loss is 2.414636e+00 during the former steps.
https://github.com/JunrQ/NAS/blob/f5b0f2548d7ea6e72b661b608c35b9de6afa6259/snas/snas/train_cifar10.py#L31