Open verbiate opened 4 years ago
Hi @verbiate verbiate, sorry for the late reply cz I'm busy with finals. The precompiled version won't work on the other machines, and besides, cuda is required for the DCN used in our repo.
Is there a way I can compile this under Windows?
Hi @verbiate I was able to compile DCNv2 under windows and get this running. See here https://github.com/CharlesShang/DCNv2/issues/62#issuecomment-631603572.
Unfortunately, I run into an issue with my GPU running out of memory that I am trying to solve now.
Once you can successfully compile the DCNv2, you can run without any problem. In order to compile it, I just replaced the DCNv2 directory with CharlesShang/DCNv2 and copied a function(class DCN_sep(DCNv2):) from original DCNv2 because upper level call wants it. then, you can run without any problem and everything is relying on your RTX GPU memory size.
Once you can successfully compile the DCNv2, you can run without any problem. In order to compile it, I just replaced the DCNv2 directory with CharlesShang/DCNv2 and copied a function(class DCN_sep(DCNv2):) from original DCNv2 because upper level call wants it. then, you can run without any problem and everything is relying on your RTX GPU memory size.
Could you please tell me the reason?
Even if it could work on windows, it would depend on luck greatly because you may never know why you can't make it(based on my own experience and what i see from others)
Running
bash make.sh
in DCNv2 under Windows fails because WSL can't access CUDA.Is it possible to use a precompiled version under Windows, or is there another approach?