Efficient-AI-Backbones icon indicating copy to clipboard operation
Efficient-AI-Backbones copied to clipboard

Graph generation and Isotropic ViG

Open Ahmad-Omar-Ahsan opened this issue 2 years ago • 6 comments

Hi, thank you for uploading the code.

In the paper it is mentioned that before passing the image to the model the image is passed through a function G to generate a graph G=(V,E). Could you tell me at which file the graph generation code is present? Unfortunately I cannot find it. Is it part of the grapher module?

The repository has code for pyramid ViG, could you upload the code and weights for isotropic ViG?

Thanks in advance

Ahmad-Omar-Ahsan avatar Jul 25 '22 11:07 Ahmad-Omar-Ahsan

Thanks for the attention. The graph is dynamically generated in grapher module. By default, we use MRConv in this repo: https://github.com/lightaime/deep_gcns_torch.

iamhankai avatar Jul 26 '22 11:07 iamhankai

Hi, same question here, could you please explain more about "The graph is dynamically generated in grapher module" ? does it mean that you generate the graph outside of this repo's code? Or could you please provide a link refer to the grapher module? Great thanks!

binberyuan avatar Aug 13 '22 15:08 binberyuan

@StefanYz The link to Grapher module: https://github.com/huawei-noah/Efficient-AI-Backbones/blob/0b7c9aea711651fd515948b254e35761b5a7129c/vig_pytorch/gcn_lib/torch_vertex.py#L133

iamhankai avatar Aug 14 '22 09:08 iamhankai

您好,您的代码真的让我受益匪浅。请问我想实现isotropic ViG应该怎么调整参数呢?我只看到了金字塔结构的Vig。

Idiom1999 avatar Aug 19 '22 03:08 Idiom1999

我也想知道isotropic ViG的代码在哪里,参数改成 --model vig_s_224_gelu 后报错 RuntimeError: Unknown model (vig_s_224_gelu),搜索也没找到

wukurua avatar Aug 26 '22 08:08 wukurua

Please refer to https://github.com/huawei-noah/Efficient-AI-Backbones/issues/130

iamhankai avatar Aug 26 '22 08:08 iamhankai

我也想知道isotropic ViG的代码在哪里,参数改成 --model vig_s_224_gelu 后报错 RuntimeError: Unknown model (vig_s_224_gelu),搜索也没找到

isotropic ViG的代码已发布:https://github.com/huawei-noah/Efficient-AI-Backbones/issues/124#issuecomment-1228207528

iamhankai avatar Nov 18 '22 02:11 iamhankai