This step generates pseudo wireframe labels using the model trained in the previous phase. You can choose between single-image mode (lower GPU memory footprint) or batch mode (faster processing).
Single-image mode
Use this mode to minimize GPU memory usage.
Batch mode
Use this mode for faster processing of large datasets. Note that batch processing requires significant GPU memory (e.g., a batch size of 16 may require ~40GB of VRAM on an NVIDIA A6000).
Arguments:
--metarch: The architecture method (e.g., HAWP-heatmap).--datacfg: Path to the export configuration YAML.--workdir: The directory where results are stored.--epoch: The specific epoch of the model to use.--modelcfg: Path to the model configuration file.--min_score / --min-score: Minimum score threshold for label generation.--batch-size: (Batch mode only) Number of images per batch.
# Single-image mode
python -m hawp.ssl.homoadp --metarch HAWP-heatmap \
--datacfg hawp/ssl/config/export/wireframe-10iters.yaml \
--workdir exp-ssl/hawpv3-round0 \
--epoch 10 \
--modelcfg exp-ssl/hawpv3-round0/model.yaml \
--min_score 0.75
# Batch mode
python -m hawp.ssl.homoadp-bm --metarch HAWP-heatmap \
--datacfg hawp/ssl/config/exports/wireframe-10iters.yaml \
--workdir exp-ssl/hawpv3-round0 \
--epoch 10 \
--modelcfg exp-ssl/hawpv3-round0/model.yaml \
--min-score 0.75 --batch-size=16