Clean up data files

Warning

The AI Accelerator requires ROS 2 Humble, so PolyScope X 10.12.1 is the latest compatible release. PolyScope X 10.13 and later use ROS 2 Jazzy and are not currently supported.

← Back to Troubleshooting

Annotation, training, and demos leave files under ~/aia_sdk/ros/. Temporary data is safe to remove; datasets, trained checkpoints, and meshes are not unless you will recreate them.

Host: ~/aia_sdk/ros/ · Container: /workspaces/isaac_ros-dev/

Stop examples and isaac_pkgs_app before deleting large folders.

Safe to delete

Path

Why

ros/data/tmp/

Scratch (e.g. calibration). Recreated as needed.

ros/data/tmp_video_dir/

SAM2 annotation scratch.

ros/data/videos/

Auto Annotation recordings; frames are copied into COCO after P / G.

ros/data/recordings/

Perception / log recordings.

ros/data/datasets/*/tmp/

Dataset temp folders.

ros/isaac_ros_assets/models_backup/

Isaac restore backup — only if forcing rebuild (Model restore failed).

Loose overlay_mask_*.jpg, mask_object_*.jpg, response_mask_*.jpg under ros/data/

Annotation debug images.

ros/data/models/*/runs/ or tensorboard/

Training logs only.

Unused checkpoint-*

Keep the one your program loads.

ros/build/

Colcon cache.

rm -rf ~/aia_sdk/ros/data/tmp \
       ~/aia_sdk/ros/data/tmp_video_dir \
       ~/aia_sdk/ros/data/videos \
       ~/aia_sdk/ros/data/recordings

rm -f  ~/aia_sdk/ros/data/overlay_mask_*.jpg \
       ~/aia_sdk/ros/data/mask_object_*.jpg \
       ~/aia_sdk/ros/data/response_mask_*.jpg

Force model rebuild (then re-run setup on MAXN):

sudo rm -rf ~/aia_sdk/ros/isaac_ros_assets/models_backup
cd ~/aia_sdk/ros && ./scripts/run_sdk_setup.sh

Delete only if you will retrain / re-teach

Path

Effect

ros/data/datasets/rtdetr_active/

Lose COCO data — redo Auto Annotation.

ros/data/datasets/classification_active/

Lose classification samples.

ros/data/models/rtdetr_active/checkpoint-*

Lose detector — train again; update PolyScope Before Start.

ros/data/models/classification_active/

Lose classifier.

ros/data/meshes/ (custom parts)

Redo textured mesh for Pose Estimation.

Do not delete

Path

Why

ros/config/config.yaml

Robot serial, ROS domain, camera / ROI.

ros/launch/, ros/scripts/, ros/helper_scripts/

Launch and tooling.

ros/install/

Installed ROS packages.

ros/data/collision_*.yaml, sample assets (e.g. ros/data/cylinder/)

Path-planning / demos.

~/aia_sdk/polyscope/programs/

Example .urpx programs.

Rule of thumb: tmp*, videos, recordings, and (intentionally) models_backup are disposable. Keep datasets/, trained models/, and meshes/ unless you will recreate them.