# Mono-Mapformer **Repository Path**: irvingao/mono-mapformer ## Basic Information - **Project Name**: Mono-Mapformer - **Description**: Mono-Mapformer - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-13 - **Last Updated**: 2022-10-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Readme ```shell conda create -n mono_map_former python=3.7 conda activate mono_map_former pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html pip install mmcv-full==1.6.0 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.9.0/index.html pip install mmdet==2.25.0 pip install mmsegmentation git clone https://github.com/open-mmlab/mmdetection3d.git cd mmdetection3d pip install -v -e . # or "python setup.py develop" cd ../.. git clone https://github.com/daerduoCarey/PyTorchEMD.git cd PyTorchEMD python setup.py install # 此处编译会报错,把涉及错误的文件里面所有的AT_CHECK替换为TORCH_CHECK即可 cp build/lib.linux-x86_64-3.7/emd_cuda.cpython-37m-x86_64-linux-gnu.so . # 测试 python test_emd_loss.py cp build/lib.linux-x86_64-3.7/emd_cuda.cpython-37m-x86_64-linux-gnu.so ../mono-mapformer/projects/mmdet3d_plugin/core/bbox/match_costs ```