-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it only suitable for VCNN network? Does the residual network fit? #25
Comments
It works with residual network. However, only VCNN comes with strong theoretical guarantee. That is, you can apply Zen-score to any network, even non VCNN ones. You loose theoretical guarantee so be careful to verify the results. |
What are the steps to run my own network structure in your code? For example: simpleNet( |
Please check ZenNAS/ZeroShotProxy/compute_zen_score.py Line 33 in d1d617e
for computing zen-score for you model. |
Sorry for the late reply.
Please refer to line 48-67 in compute_zen_score.py for your resnet model.
…On Mon, Oct 10, 2022 at 3:06 AM qq272574497 ***@***.***> wrote:
Please check
https://github.com/idstcv/ZenNAS/blob/d1d617e0352733d39890fb64ea758f9c85b28c1a/ZeroShotProxy/compute_zen_score.py#L33
for computing zen-score for you model.
hi,
How to run this demo([ZenNAS/ZeroShotProxy/compute_zen_score.py]). i think
it need sys.argv and i want to run resnet
—
Reply to this email directly, view it on GitHub
<#25 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFIQVWPMCLTJIKWLVOKLX5DWCPTBTANCNFSM6AAAAAAQ2OOCJI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Excuse me, I want to run the demo (https://github.com/idstcv/ZenNAS/blob/main/ZeroShotProxy/compute_zen_score.py), could you tell me the following parameters are correct? Take myresnet50 and cifir10 as examples --batch_size 64 --input_image_size 32 --repeat_times 32 --mixup_gamma 1e-2 --arch myresnet50 --num_classes 10 |
--mixup_gamma 1e-2 : I would suggest 1e-4~1e-6, to approximate gradient. 1e-2 might be too large. |
in [Zero-Cost Proxies for Lightweight NAS],reslink was deleted in the search stage, and the residual block was used after the optimal architecture was found. Is that the same with you? |
Yes, they are the same. |
I find that pooling has a great impact on the result. Is there any way to reduce the impact of pooling on the result of zero-cost to 0? The only use of pooling is to reduce calculations |
You can use conv with stride=2 to replace pooling. The saving on the computational cost is minor, because there are at most 5 such layers. |
stride=2 does not work;But I agree with you " The saving on the computational cost is minor" |
No description provided.
The text was updated successfully, but these errors were encountered: