Pointcept / SegmentAnything3D

[ICCV'23 Workshop] SAM3D: Segment Anything in 3D Scenes
https://arxiv.org/abs/2306.03908
MIT License
1.02k stars 70 forks source link

Error "label-filt does not exist". Any suggestion? #53

Closed garrisonz closed 1 month ago

garrisonz commented 1 month ago

Thanks for your great work!

When I Prepare RGBD data by running:

python scannet-preprocess/prepare_2d_data/prepare_2d_data.py --scannet_path data/scannet0/scans --output_path data/scannet0/scans_images --export_label_images

I got the error "ERROR: Error: using export_label_images option but label path data/scannet0/scans/scene0000_02/label-filt does not exist"

How can I get the label / label-fit folders? Which script generates or downlowds these folders?


Full log:

(sam3d) :~/w/3drecon/SegmentAnything3D$ python scannet-preprocess/prepare_2d_data/prepare_2d_data.py --scannet_path data/scannet0/scans --output_path data/scannet0/scans_images --export_label_images
Namespace(export_label_images=True, frame_skip=20, label_map_file='scannet-preprocess/meta_data/scannetv2-labels.combined.tsv', label_type='label-filt', output_image_height=480, output_image_width=640, output_path='data/scannet0/scans_images', scannet_path='data/scannet0/scans')
['scene0000_02', 'scene0000_01', 'scene0000_00']
Found 3 scenes
ERROR: Error: using export_label_images option but label path data/scannet0/scans/scene0000_02/label-filt does not exist

I only try to prepare scene0000.

yhyang-myron commented 1 month ago

Hi, Thanks for your interest in our work. SAM3D does not need 2D image labels. So you can try to remove --export_label_images.

garrisonz commented 1 month ago

Thanks!