Closed hly1999 closed 4 months ago
Sorry,I want to know how to see the segmented image,it doesn't seem to be in the output folder.
Could you provide the command you used?
python train_net.py --config-file configs/san_clip_vit_res4_coco.yaml --num-gpus 4 OUTPUT_DIR ./output2/trained_vit_b16 I cannot find the segmented JPG image in the output folder.
It will not produce the segmented image directly. The results are stored in ./output2/trained_vit_b16/inference/*.json
. If you want to visualize it with https://gist.github.com/MendelXu/052d65bd51c48887274fd985eb0f3ad1. Before using it, change line 11 to from san import *
OK,thank you for your response.
我在运行上面的可视化文件时遇到了这个问题 AttributeError: Attribute 'stuff_dataset_id_to_contiguous_id' does not exist in the metadata of dataset 'pcontext_full_sem_seg_val'. Available keys are dict_keys(['name', 'stuff_classes', 'image_root', 'sem_seg_root', 'evaluator_type', 'ignore_label']). 请问这个是什么原因
I would like to ask where the visualization part of the results in the code is located.Thanks