Skip to content

Questions about correct order and paths when running the full pipeline #2

@baurst

Description

@baurst

Hi,

thank you for publishing the code to your very interesting paper!

Could you please kindly look at my steps that I did to try to reproduce the results in the paper? Clearly I must be doing something wrong, but I cannot figure it out, since there are a lot of steps involved. Thank you very much in advance for taking a look. Your help is very much appreciated!

Here is how I adapted the experiment (mainly data and save paths) to my machine:

  • config/flow/kittisf/kittisf_unsup.yaml

    • old save_path: 'ckpt/flow/kittisf/kittisf_unsup/epoch=23.ckpt'
    • new save_path: '/mnt/ssd4/ogc/ckpt/flow/kittisf/kittisf_unsup/epoch=23.ckpt'
    • old root: '/home/ziyang/Desktop/Datasets/KITTI_SceneFlow'
    • new root: '/mnt/ssd4/ogc/kitti_sf'
  • config/seg/kittidet/kittisf_unsup.yaml

    • old save_path: 'ckpt/seg/kittisf/kittisf_unsup'
    • new save_path: '/mnt/ssd4/ogc/ckpt/seg/kittisf/kittisf_unsup'
    • old root: '/home/ziyang/Desktop/Datasets/KITTI_Object'
    • new root: '/mnt/ssd4/ogc/kitti_det'
  • config/seg/kittisf/kittisf_sup.yaml

    • old save_path: 'ckpt/seg/kittisf/kittisf_sup'
    • new save_path: '/mnt/ssd4/ogc/ckpt_out/seg/kittisf/kittisf_sup'
    • old root: '/home/ziyang/Desktop/Datasets/KITTI_SceneFlow_downsampled'
    • new root: '/mnt/ssd4/ogc/kitti_sf_downsampled'
  • config/seg/kittisf/kittisf_unsup.yaml

    • old save_path: 'ckpt/seg/kittisf/kittisf_unsup'
    • new save_path: '/mnt/ssd4/ogc/ckpt/seg/kittisf/kittisf_unsup'
    • old root: '/home/ziyang/Desktop/Datasets/KITTI_SceneFlow_downsampled'
    • new root: '/mnt/ssd4/ogc/kitti_sf_downsampled
    • old batch_size: 4
    • new batch_size: 2
  • config/seg/kittisf/kittisf_unsup_woinv.yaml

    • old save_path: 'ckpt/seg/kittisf/kittisf_unsup_woinv'
    • new save_path: '/mnt/ssd4/ogc/ckpt_out/seg/kittisf/kittisf_unsup_woinv'
    • old root: '/home/ziyang/Desktop/Datasets/KITTI_SceneFlow_downsampled'
    • new root: '/mnt/ssd4/ogc/kitti_sf_downsampled'
    • old batch_size: 4
    • new batch_size: 2
  • config/seg/semantickitti/kittisf_unsup.yaml

    • old save_path: 'ckpt/seg/kittisf/kittisf_unsup'
    • new save_path: '/mnt/ssd4/ogc/ckpt/seg/kittisf/kittisf_unsup'
    • old root: '/home/ziyang/Desktop/Datasets/SemanticKITTI'
    • new root: '/mnt/ssd4/ogc/SemanticKITTI'

After this, I did the following steps:

KITTI_SF="/mnt/ssd4/ogc/kitti_sf"
KITTI_DET="/mnt/ssd4/ogc/kitti_det"
SEMANTIC_KITTI="/mnt/ssd4/ogc/SemanticKITTI"

python data_prepare/kittisf/process_kittisf.py ${KITTI_SF}

python test_flow_kittisf.py config/flow/kittisf/kittisf_unsup.yaml --split train --test_model_iters 5 --save
python test_flow_kittisf.py config/flow/kittisf/kittisf_unsup.yaml --split val --test_model_iters 5 --save

python data_prepare/kittisf/downsample_kittisf.py ${KITTI_SF} --save_root ${KITTI_SF}_downsampled
python data_prepare/kittisf/downsample_kittisf.py ${KITTI_SF} --save_root ${KITTI_SF}_downsampled --predflow_path flowstep3d

python data_prepare/kittidet/process_kittidet.py ${KITTI_DET}
python data_prepare/semantickitti/process_semantickitti.py ${SEMANTIC_KITTI}

for ROUND in $(seq 1 2); do
    python train_seg.py config/seg/kittisf/kittisf_unsup_woinv.yaml --round ${ROUND}
    python oa_icp.py config/seg/kittisf/kittisf_unsup_woinv.yaml --split train --round ${ROUND} --test_batch_size 2 --save
    python oa_icp.py config/seg/kittisf/kittisf_unsup_woinv.yaml --split val --round ${ROUND} --test_batch_size 2 --save
done

python train_seg.py config/seg/kittisf/kittisf_unsup.yaml --round ${ROUND}

# KITTI-SF
python test_seg.py config/seg/kittisf/kittisf_unsup.yaml --split val --round ${ROUND} --test_batch_size 2

For the last command I am getting:
AveragePrecision@50: 0.3241964006222572
PanopticQuality@50: 0.2567730165763252 F1-score@50: 0.35737439222042144 Prec@50: 0.26614363307181654 Recall@50: 0.5437731196054254
{'per_scan_iou_avg': 0.5634193836152553, 'per_scan_iou_std': 0.020407961700111627, 'per_scan_ri_avg': 0.6674587628245354, 'per_scan_ri_std': 0.00429959088563919}

# KITTI-Det
python test_seg.py config/seg/kittidet/kittisf_unsup.yaml --split val --round ${ROUND} --test_batch_size 2

I am getting:
AveragePrecision@50: 0.13945170257439435
PanopticQuality@50: 0.1318724309223011 F1-score@50: 0.19702186647587533 Prec@50: 0.13796774698606545 Recall@50: 0.3444609491048393
{'per_scan_iou_avg': 0.45250289306404357, 'per_scan_iou_std': 0.0, 'per_scan_ri_avg': 0.4861106249785733, 'per_scan_ri_
std': 0.0}

# SemanticKITTI
python test_seg.py config/seg/semantickitti/kittisf_unsup.yaml --round ${ROUND} --test_batch_size 2

AveragePrecision@50: 0.10315215577576131
PanopticQuality@50: 0.0989709766834506 F1-score@50: 0.15591615175838772 Prec@50: 0.10372148859543817 Recall@50: 0.31385
31283601174
{'per_scan_iou_avg': 0.4351089967498311, 'per_scan_iou_std': 0.0, 'per_scan_ri_avg': 0.4129963953279687, 'per_scan_ri_s
td': 0.0}

Am I doing something fundamentally wrong? Thanks again for taking a look!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions