czczup / ViT-Adapter

[ICLR 2023 Spotlight] Vision Transformer Adapter for Dense Predictions
https://arxiv.org/abs/2205.08534
Apache License 2.0
1.26k stars 139 forks source link

ModuleNotFoundError: No module named 'ops.modules' #142

Closed GitHubYuxiao closed 1 year ago

GitHubYuxiao commented 1 year ago

why i run the make.sh,but the problem are not solved

yuecao0119 commented 1 year ago

Thank you for your feedback. Can you provide more error reporting information? And are you sure that the make. sh operation was successful?

czczup commented 1 year ago

You can try adding the path of detection folder into PYTHONPATH.

cd detection/
export PYTHONPATH=$pwd:$PYTHONPATH
GitHubYuxiao commented 1 year ago

I copy the ops file into the segmentation ,that's ok  

Xiao @.***

 

------------------ 原始邮件 ------------------ 发件人: "Zhe @.>; 发送时间: 2023年10月16日(星期一) 晚上7:27 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [czczup/ViT-Adapter] ModuleNotFoundError: No module named 'ops.modules' (Issue #142)

You can try adding the path of detection folder into PYTHONPATH. cd detection/ export PYTHONPATH=$pwd:$PYTHONPATH

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

GitHubYuxiao commented 1 year ago

yes it's ok   

Xiao @.***

 

------------------ 原始邮件 ------------------ 发件人: "Yue @.>; 发送时间: 2023年10月16日(星期一) 晚上7:23 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [czczup/ViT-Adapter] ModuleNotFoundError: No module named 'ops.modules' (Issue #142)

Thank you for your feedback. Can you provide more error reporting information? And are you sure that the make. sh operation was successful?

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