UFPMP-Det icon indicating copy to clipboard operation
UFPMP-Det copied to clipboard

mmcv version

Open mahilaMoghadami opened this issue 1 year ago • 10 comments

hello Im trying to reimplement your code and train coarse-det.py but with different pytorch and mmcv versions, I get this error:

ImportError: cannot import name 'TORCH_VERSION' from 'mmcv.utils'

could you please share your environment packages with exact versions of them? I spent so much time but I didn't get result. thank you.

mahilaMoghadami avatar Oct 15 '23 07:10 mahilaMoghadami

similar error. This is my version: mmcv 2.1.0 I have another error:

File "tools/train.py", line 12, in from mmcv.runner import get_dist_info, init_dist ModuleNotFoundError: No module named 'mmcv.runner'

jerryniu0624 avatar Nov 16 '23 07:11 jerryniu0624

hello After much effort and investigation, I realized that this implementation is based on mmcv-full and it doesn't work with mmcv. I tried to use mmcv-full but rest of packages affected. overally, I think that this code is not usable now.

mahilaMoghadami avatar Nov 17 '23 08:11 mahilaMoghadami

This works for me

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年11月17日(星期五) 下午4:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [PuAnysh/UFPMP-Det] mmcv version (Issue #9)

hello After much effort and investigation, I realized that this implementation is based on mmcv-full and it doesn't work with mmcv. I tried to use mmcv-full but rest of packages affected. overally, I think that this code is not usable now.

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

jerryniu0624 avatar Nov 17 '23 08:11 jerryniu0624

This works for me

------------------ 原始邮件 ------------------ 发件人: "PuAnysh/UFPMP-Det" @.>; 发送时间: 2023年11月17日(星期五) 下午4:02 @.>; @.@.>; 主题: Re: [PuAnysh/UFPMP-Det] mmcv version (Issue #9)

hello After much effort and investigation, I realized that this implementation is based on mmcv-full and it doesn't work with mmcv. I tried to use mmcv-full but rest of packages affected. overally, I think that this code is not usable now.

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

jerryniu0624 avatar Nov 17 '23 08:11 jerryniu0624

mmcv-full?

mahilaMoghadami avatar Nov 17 '23 08:11 mahilaMoghadami

mmcv-full?

mahilaMoghadami avatar Nov 17 '23 08:11 mahilaMoghadami

1.7.0

------------------ 原始邮件 ------------------ 发件人: "PuAnysh/UFPMP-Det" @.>; 发送时间: 2023年11月17日(星期五) 下午4:07 @.>; @.@.>; 主题: Re: [PuAnysh/UFPMP-Det] mmcv version (Issue #9)

mmcv-full?

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

jerryniu0624 avatar Nov 17 '23 08:11 jerryniu0624

view that in email. I have a photo

------------------ 原始邮件 ------------------ 发件人: "PuAnysh/UFPMP-Det" @.>; 发送时间: 2023年11月17日(星期五) 下午4:08 @.>; @.@.>; 主题: Re: [PuAnysh/UFPMP-Det] mmcv version (Issue #9)

mmcv-full?

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

jerryniu0624 avatar Nov 17 '23 08:11 jerryniu0624

mmcv                      2.0.0rc4                 pypi_0    pypi mmcv-full                 1.7.0                    pypi_0    pypi mmdet                     2.26.0                   pypi_0    pypi mmengine                  0.9.1                    pypi_0    pypi

------------------ 原始邮件 ------------------ 发件人: "PuAnysh/UFPMP-Det" @.>; 发送时间: 2023年11月17日(星期五) 下午4:08 @.>; @.@.>; 主题: Re: [PuAnysh/UFPMP-Det] mmcv version (Issue #9)

mmcv-full?

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

jerryniu0624 avatar Nov 17 '23 08:11 jerryniu0624

similar error. This is my version: mmcv 2.1.0 I have another error:

File "tools/train.py", line 12, in from mmcv.runner import get_dist_info, init_dist ModuleNotFoundError: No module named 'mmcv.runner'

你好,我在复现这个代码的时候也遇到了同样的问题,请问你解决了吗?

LvRuH avatar Mar 27 '24 06:03 LvRuH