Closed Starboy-at-earth closed 3 years ago
And this....
###############################################
Traceback (most recent call last):
File "tools/condlanenet/culane/test_culane.py", line 20, in
Anyone with the same puzzle is welcome......
The installation of mmdetection should be based on this repo since we have added some files . The "Install.md" has been updated to avoid misunderstanding. You can reinstall this framework as following:
git clone https://github.com/aliyun/conditional-lane-detection.git cd conditional-lane-detection pip install -r requirements/build.txt python setup.py develop
python ./tools/condlanenet/culane/test_culane.py /home/yjx/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at /opt/conda/conda-bld/pytorch_1623448224956/work/aten/src/ATen/native/BinaryOps.cpp:467.) return torch.floor_divide(self, other) The model and loaded state dict do not match exactly
unexpected key in source state_dict: bbox_head.reg_branch.0.conv.weight, bbox_head.reg_branch.0.bn.weight, bbox_head.reg_branch.0.bn.bias, bbox_head.reg_branch.0.bn.running_mean, bbox_head.reg_branch.0.bn.running_var, bbox_head.reg_branch.0.bn.num_batches_tracked, bbox_head.reg_branch.1.conv.weight, bbox_head.reg_branch.1.bn.weight, bbox_head.reg_branch.1.bn.bias, bbox_head.reg_branch.1.bn.running_mean, bbox_head.reg_branch.1.bn.running_var, bbox_head.reg_branch.1.bn.num_batches_tracked, bbox_head.reg_branch.2.conv.weight, bbox_head.reg_branch.2.bn.weight, bbox_head.reg_branch.2.bn.bias, bbox_head.reg_branch.2.bn.running_mean, bbox_head.reg_branch.2.bn.running_var, bbox_head.reg_branch.2.bn.num_batches_tracked
completed: 0, elapsed: 0sSegmentation fault (core dumped)
@hustllz emmmm, why does this error pop up? Do you have any idea?
Solved. Just need to rewrite ~ as the full path in config.py.
Solved. Just need to rewrite ~ as the full path in config.py.
Hello, I also encountered the same problem. Could you please tell me in detail how you solved it? thank you very much
@HaoYongqiang1999 Which problem did you encounter?
@HaoYongqiang1999 Which problem did you encounter?
Thanks to your previous comment,problem has been solved. Thank you!
Can you tell me How did you change it?
Can you tell me How did you change it?
Could you please say chinese? I am a little confused about what you have asked. And I solved two problems in this round of discussion. Which one do you want to tackle? I will try my best to help you, in the way the author did to me.
Can you tell me How did you change it?
Could you please say chinese? I am a little confused about what you have asked. And I solved two problems in this round of discussion. Which one do you want to tackle? I will try my best to help you, in the way the author did to me. 您好,我想请问一下您上面出现的问题(core dumped)是怎么解决的?
Can you tell me How did you change it?
Could you please say chinese? I am a little confused about what you have asked. And I solved two problems in this round of discussion. Which one do you want to tackle? I will try my best to help you, in the way the author did to me.
在您评论的帮助下,我的问题已经解决了,我现在没什么问题了。感谢!
Can you tell me How did you change it?
Could you please say chinese? I am a little confused about what you have asked. And I solved two problems in this round of discussion. Which one do you want to tackle? I will try my best to help you, in the way the author did to me. 您好,我想请问一下您上面出现的问题(core dumped)是怎么解决的?
我是把"/conditional-lane-detection/configs/condlanenet/culane/culane_large_test.py"中的第六行改成了我自己的数据集路径,就没问题了。
Can you tell me How did you change it?
Could you please say chinese? I am a little confused about what you have asked. And I solved two problems in this round of discussion. Which one do you want to tackle? I will try my best to help you, in the way the author did to me. 您好,我想请问一下您上面出现的问题(core dumped)是怎么解决的?
我是把"/conditional-lane-detection/configs/condlanenet/culane/culane_large_test.py"中的第六行改成了我自己的数据集路径,就没问题了。
谢谢
Getting Error:
/content/conditional-lane-detection
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Traceback (most recent call last):
File "tools/condlanenet/tusimple/test_tusimple.py", line 19, in
Any solution??
~/projects/condlanenet/conditional-lane-detection$ python tools/condlanenet/culane/test_culane.py Traceback (most recent call last): File "tools/condlanenet/culane/test_culane.py", line 21, in
from mmdet.models.detectors.condlanenet import CondLanePostProcessor
File "/home/yjx/projects/condlanenet/conditional-lane-detection/mmdet/models/init.py", line 1, in
from .backbones import * # noqa: F401,F403
File "/home/yjx/projects/condlanenet/conditional-lane-detection/mmdet/models/backbones/init.py", line 1, in
from .hrnet import HRNet
File "/home/yjx/projects/condlanenet/conditional-lane-detection/mmdet/models/backbones/hrnet.py", line 7, in
from mmdet.utils import get_root_logger
ImportError: cannot import name 'get_root_logger' from 'mmdet.utils' (/home/yjx/projects/condlanenet/conditional-lane-detection/mmdet/utils/init.py)