Closed AmingWu closed 2 months ago
Hi, it seems that the target class you specified might not be included in the test split. Could you share the exact commands you used to run the code?
This is the command:
python3 main_fs.py --config config/s3dis_COSeg_fs.yaml test True weight "/data1/zyh/COSeg/trained_model/model/model_last.pth" cvfold 0 train_gpu [0] vis_save_path ./vis forvis 1 data_root /data1/zyh/COSeg/datasets/S3DIS/blocks_bs1_s1/data target_class table
Your command shows the issue I mentioned. You are using cvfold 0
as the test split but have specified target_class
as table
, which is used for cvfold 1
, not 0
. Therefore, the table
index is not defined in the test split (cvfold 0
).
Could you tell me the cvfold 0 owns concret categories?
The concrete category divisions can be found in the dataset class definition: https://github.com/ZhaochongAn/COSeg/blob/75f39091b49ed73b2f06bcf68555986d5d75fa30/util/s3dis_fs.py#L53-L61.
Thanks. Since my device does not create window to display the results, could you tell me how to save the results to .ply?
Besides, the saved results contain pred.npy, query.npy, querylb.npy, sup.npy, and suplb.npy. Could you tell me their meaning? Which one is used for visualization?
The visualization code will visualize all these saved results to show the whole few-shot episode. They correspond to query predictions, query data, query labels, support data, and support labels, respectively.
Thanks. If I can directly save these files to .ply, it will be convenient to perform visualization for me. Could you give me some advice? Thanks
你好,这是可视化结果,如何才能获得论文上那种标注特定颜色的分割结果呢?
Hi, our visualization code renders all the results one by one. If you follow the code, you will get all the results including the predictions. You could press 'q' to finish the current rendering window and continue to the next result automatically.
您好,我们的可视化代码会逐一渲染所有结果。如果您按照代码操作,您将获得所有结果(包括预测)。您可以按“q”完成当前渲染窗口并自动继续下一个结果。
Hello, I visualized the query prediction results, but the entire scene is black. Why is this ![Uploading 屏幕截图 2024-08-18 145037.png…]()
你好,这是可视化的结果,如何才能获得论文上那种特定颜色的分割结果呢?
Hello, may I ask if you have encountered a situation where the visualization of your prediction results is all black
你好,这是可视化的结果,如何才能获得论文上那种特定颜色的分割结果呢?
Hello, have you successfully saved the result as ply and visualized it? How can I do it
Dear Authors,
When I run your new code, there exists an error:
Could you give me some advice? Thanks.