MapTR
MapTR copied to clipboard
如何在nuscenes的mini数据集上跑出可视化结果
我想用mini数据集测试下maptr的效果,想熟悉下跑通的流程,但是遇到了一些问题 运行命令是:python -m torch.distributed.launch --nproc_per_node=1 --master_port 12345 tools/test.py 在for i, data in enumerate(data_loader):报错 EOFError: Ran out of input TypeError: cannot pickle 'dict_keys' object
NOTE: Redirects are currently not supported in Windows or MacOs.
D:\anaconda\envs\bev\lib\site-packages\torch\distributed\launch.py:178: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torch.distributed.run.
Note that --use_env is set by default in torch.distributed.run.
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(
projects.mmdet3d_plugin
E:\code/MapTR\projects\mmdet3d_plugin\bevformer\modules\custom_base_transformer_layer.py:94: UserWarning: The arguments feedforward_channels
in BaseTransformerLayer has been deprecated, now you should se
t feedforward_channels
and other FFN related arguments to a dict named ffn_cfgs
.
warnings.warn(
E:\code/MapTR\projects\mmdet3d_plugin\bevformer\modules\custom_base_transformer_layer.py:94: UserWarning: The arguments ffn_dropout
in BaseTransformerLayer has been deprecated, now you should set ffn_dr op
and other FFN related arguments to a dict named ffn_cfgs
.
warnings.warn(
E:\code/MapTR\projects\mmdet3d_plugin\bevformer\modules\custom_base_transformer_layer.py:94: UserWarning: The arguments ffn_num_fcs
in BaseTransformerLayer has been deprecated, now you should set num_fc s
and other FFN related arguments to a dict named ffn_cfgs
.
warnings.warn(
D:\anaconda\envs\bev\lib\site-packages\mmcv\cnn\bricks\transformer.py:341: UserWarning: The arguments feedforward_channels
in BaseTransformerLayer has been deprecated, now you should set feedforward_cha nnels
and other FFN related arguments to a dict named ffn_cfgs
.
warnings.warn(
D:\anaconda\envs\bev\lib\site-packages\mmcv\cnn\bricks\transformer.py:341: UserWarning: The arguments ffn_dropout
in BaseTransformerLayer has been deprecated, now you should set ffn_drop
and other FFN
related arguments to a dict named ffn_cfgs
.
warnings.warn(
D:\anaconda\envs\bev\lib\site-packages\mmcv\cnn\bricks\transformer.py:341: UserWarning: The arguments ffn_num_fcs
in BaseTransformerLayer has been deprecated, now you should set num_fcs
and other FFN r
elated arguments to a dict named ffn_cfgs
.
warnings.warn(
D:\anaconda\envs\bev\lib\site-packages\mmcv\cnn\bricks\transformer.py:92: UserWarning: The arguments dropout
in MultiheadAttention has been deprecated, now you can separately set attn_drop
(float), proj
_drop(float), and dropout_layer
(dict)
warnings.warn('The arguments dropout
in MultiheadAttention '
load checkpoint from local path: E:/code/MapTR/ckpts/maptr_nano_r18_110e.pth
The model and loaded state dict do not match exactly
unexpected key in source state_dict: pts_bbox_head.transformer.encoder.layers.0.attentions.1.attention.grid_offsets
[ ] 0/81, elapsed: 0s, ETA:Traceback (most recent call last):
File "tools/test.py", line 269, in
tools/test.py FAILED
======================================= Root Cause: [0]: time: 2024-03-14_14:21:03 rank: 0 (local_rank: 0) exitcode: 1 (pid: 25492) error_file: <N/A> msg: "Process failed with exitcode 1"
Other Failures: <NO_OTHER_FAILURES>