You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nohup: ignoring input
/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launch.py:178: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects `--local_rank` argument to be set, please
change it to read from `os.environ['LOCAL_RANK']` instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
WARNING:torch.distributed.run:
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Traceback (most recent call last):
File "./tools/test.py", line 14, in <module>
from mmdet3d.apis import single_gpu_test
File "/root/uuuuu/jjjjj/data/project/yyyyy/mmdetection3d/mmdet3d/__init__.py", line 21, in <module>
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.4.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 507441) of binary: /root/anaconda3/envs/hhhhh/bin/python
Traceback (most recent call last):
File "/root/anaconda3/envs/hhhhh/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/anaconda3/envs/hhhhh/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launch.py", line 193, in <module>
main()
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launch.py", line 189, in main
launch(args)
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launch.py", line 174, in launch
run(args)
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/run.py", line 710, in run
elastic_launch(
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 131, in __call__
return launch_agent(self._config, self._entrypoint, list(args))
File "/root/anaconda3/envs/hhhhh/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 259, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
./tools/test.py FAILED
------------------------------------------------------------
Failures:
[1]:
time : 2024-03
host : uuuuu00000
rank : 1 (local_rank: 1)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
time : 2024-03
host : uuuuu00000
rank : 2 (local_rank: 2)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
time : 2024-03
host : uuuuu00000
rank : 3 (local_rank: 3)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[4]:
time : 2024-03
host : uuuuu00000
rank : 4 (local_rank: 4)
exitcode : 1 (pid: 507449)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[5]:
time : 2024-03
host : uuuuu00000
rank : 5 (local_rank: 5)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[6]:
time : 2024-03
host : uuuuu00000
rank : 6 (local_rank: 6)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[7]:
time : 2024-03
host : uuuuu00000
rank : 7 (local_rank: 7)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
time : 2024-03
host : uuuuu00000
rank : 0 (local_rank: 0)
exitcode : 1 (pid: 00000)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================
lyft_dataset_sdk
# networkx>=2.5
numba # you should install numba==0.53.0 if your environment is cuda-9.0
# numpy
nuscenes-devkit
open3d
plyfile
scikit-image
# by default we also use tensorboard to log results
tensorboard
trimesh
Problem Cause: The git checkout version of mmdet3d was not matched.
Thought I had to match the gitcheckout version for CUDA 11.3 and Torch 1.10.1. But it was related to mmcv. Workaround: I set the git checkout version to 0.17.1, rerouted it, and reinstalled the files.
I also processed the code below in the "../mmdetection3d/requirements/runtime.txt" path.
#networkx>=2.2,<2.3
#numpy<1.20.0
In subsequent execution, it is estimated that there will be a problem with the input data.
Estimated to add a few lines of code to the path.
.. /UniAD/projects/stage1_track_map/base_track_map.py".
Prerequisite
Environment
I understand that Ubuntu is installed in the 20.04 version.
python -c "from mmcv.utils import collect_env; print(collect_env())"
###############################################################
pip list
Reproduces the problem - code sample
nohup ./tools/uniad_dist_eval.sh ./projects/configs/stage1_track_map/base_track_map.py ./ckpts/uniad_base_track_map.pth 8 > output.log 2>&1 &
Reproduces the problem - command or script
nohup ./tools/uniad_dist_eval.sh ./projects/configs/stage1_track_map/base_track_map.py ./ckpts/uniad_base_track_map.pth 8 > output.log 2>&1 &
Reproduces the problem - error message
Ubuntu Ver: 20.04 / CUDA 11.3 / cudatoolkit=11.3 / Torch=1.10.1 / Python 3.8.19
Additional information
I'm going to try UniAD.
Annotation processing for error resolution
.. /mmdetection3d/requirements/runtime.txt
###############################################################
Process
env setting -- hhhhh
cd root/uuuuu/jjjjj/data/project/yyyyy
ctrl+shift+p : >select interpreter : hhhhh
Torch install - cudatoolkit=11.3 / Torch=1.10.1
install mmcv
install mmdet, mmseg
install mmdet3d
install UniAD
install pretrained weights
nuScenes data
Evaluation Example
Please solve the MMCV version problem, thank you.
I am also considering the issue of the giteckout version.
The text was updated successfully, but these errors were encountered: