saic-fi / edgevit

[ECCV 2022] EdgeViT: Competing Light-weight CNNs on Mobile Devices with Vision Transformers
Apache License 2.0
100 stars 5 forks source link

aboute the main.py #7

Open wwrong01 opened 1 year ago

wwrong01 commented 1 year ago

Hi, there are no arguments "args.distributed" in the coda file "mian.py" i think. Hope your reply ,thanks!

brais-martinez commented 1 year ago

args.distributed is assigned in "utils.init_distributed_mode", which is called from main.py here : https://github.com/saic-fi/edgevit/blob/master/src/main.py#L173

still, this line has a silly issue but does not break things. I will fix it in the next commit: https://github.com/saic-fi/edgevit/blob/master/src/main.py#L193

wwrong01 commented 1 year ago

Hi,     Thank you for your earnest reply ,which would be really helpful to me!Since I am a beginner ,i modified a little bit by learning, and it can be realized smoothly and i will also refer to your reply.

---Original--- From: @.> Date: Sat, Mar 18, 2023 03:57 AM To: @.>; Cc: @.**@.>; Subject: Re: [saic-fi/edgevit] aboute the main.py (Issue #7)

args.distributed is assigned in "utils.init_distributed_mode", which is called from main.py here : https://github.com/saic-fi/edgevit/blob/master/src/main.py#L173

still, this line has a silly issue but does not break things. I will fix it in the next commit: https://github.com/saic-fi/edgevit/blob/master/src/main.py#L193

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wwrong01 commented 1 year ago

Hi,     Can i know what is the reason for your choice of channel transformation,since your channels of each block is  [36,72,144,288]?Thanks!

---Original--- From: @.> Date: Sat, Mar 18, 2023 03:57 AM To: @.>; Cc: @.**@.>; Subject: Re: [saic-fi/edgevit] aboute the main.py (Issue #7)

args.distributed is assigned in "utils.init_distributed_mode", which is called from main.py here : https://github.com/saic-fi/edgevit/blob/master/src/main.py#L173

still, this line has a silly issue but does not break things. I will fix it in the next commit: https://github.com/saic-fi/edgevit/blob/master/src/main.py#L193

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>