Skip to content
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

[uni-uvpt] About build and pretrain with DCNv2 #215

Open
WJHash opened this issue Aug 5, 2024 · 4 comments
Open

[uni-uvpt] About build and pretrain with DCNv2 #215

WJHash opened this issue Aug 5, 2024 · 4 comments

Comments

@WJHash
Copy link

WJHash commented Aug 5, 2024

Could you please kindly provide the versions of CUDA and PyTorch projects using?
Project needs Deformable-Convolution-V2 (https://github.com/chengdazhi/Deformable-Convolution-V2-PyTorch.git) But it works on torch=0.4.1,and my environment is also unable to use the [DCNv2_pytorch_1.0.0 branch].

@WJHash
Copy link
Author

WJHash commented Aug 6, 2024

There also has no "MSDeformAttn" module in project Deformable-Convolution-V2

@WJHash
Copy link
Author

WJHash commented Aug 6, 2024

I build it successfully with torch1.10.2,cuda 10.2,but get error
"python pretrain.py configs/pretrain/daformer_swin_base_patch4_window7_512x512_400k_2e-6_synthia.py",when pretraining. After searching,I think there is still something wrong with env. Install libtorch cant fix it

@WJHash WJHash changed the title [uni-uvpt] About enviroment of DCNv2 [uni-uvpt] About build and pretrain with DCNv2 Aug 6, 2024
@WJHash
Copy link
Author

WJHash commented Aug 6, 2024

There also has no "MSDeformAttn" module in project Deformable-Convolution-V2. And in install.sh it rm MultiScaleDeformableAttention.egg-info. Is the project use https://github.com/FscoreLab/MultiScaleDeformableAttention.git and not https://github.com/chengdazhi/Deformable-Convolution-V2-PyTorch.git?

@Siris-qy
Copy link

I’m facing the same issue. Have you managed to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants