Skip to content

PannenetsF/SelectiveFocus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelectiveFocus

This is the repo of "Selective Focus: Investigating Semantics Sensitivity in Post-training Quantization for Lane Detection", which is accepted by AAAI 2024. We would publish the pre-print version (containing the supplementary, intending for a better understanding) and the source code.

Source Code

We built this system on other excellent projects:

  1. install mmdet
cd mmdet ; python setup.py develop
  1. prepare the TuSimple and CurveLane datasets according to PAD. It is worthy note that the BezierLaneNet needs extra data-preprocessing as it adopted a curve-based modeling of lanes. The model checkpoints could be find at PAD, CondlaneNet, GANet.

Also remember to compile the unified evaluate tool on evaluate/culane/ by

make
  1. run

we provide scripts to run different quantization settings in the dir scripts and the network and quantization configs are located at dir config.

To run PTQ on PAD[https://github.com/voldemortX/pytorch-auto-drive] models:

python tools/pad/main_lanedet_quant.py \
    --config $network_cfg \
    --quant_config $quant_cfg \
    --test \
    --output_prefix $output_dir \
    2>&1 | tee -a $log_file_name

To run PTQ on CondlaneNet and GANet:

python tools/mmdet/culane_ganet_quant.py \
    $network_cfg \
    $quant_cfg \
    $ckpt_pth_file \
    --result_dst $output_dir \
    --launcher none 2>&1 | tee -a $log_file_name

NOTE: every pair of (dataset, network) gets a single scripts in the tools/.

Supplementary

An arxiv version is on going...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published