Open LydJason opened 1 month ago
Meanwhile, these .pth
files also seem to be applied in the downstream files get_dis_matrix.py
, scene_frame_ncut.py
etc.
Also, in get_dis_matrix.py
, it requires the input of init_segments
, is it the output of initial superpoints produced by initialSP_prepare_ScanNet.py
? However, it seems to come with the postfix _superpoint.npy
instead of .pth
.
https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get_dis_matrix.py#L31-L39
Please correct me if I am wrong; thank you for your reply.
In the data preprocessing part, we follow SAM3D and Mask3D to convert the point cloud data (.ply) into a tensor form (.pth /.npy) for ease of use. You can follow SAM3D to get the data in the form of.pth
Thank you for your timely reply! It indeed helps to produce the .pth
file under train/val folder. However, I still have the problem about getting the .pth
file under theinit_segments
folder just as described previously:
Also, in
get_dis_matrix.py
, it requires the input ofinit_segments
, is it the output of initial superpoints produced byinitialSP_prepare_ScanNet.py
? However, it seems to come with the postfix_superpoint.npy
instead of.pth
. https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get_dis_matrix.py#L31-L39
These files are used in get_dis_matrix.py
:
https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get_dis_matrix.py#L38-L39
Thank again for your timely reply! Also, it will be of great help if you can take a look at #7 , I still face the problem of the dimension of the dino output tensor to run project_features.py
.
I also find out that the scene_frame_ncut.py
and scene_frame_merge.py
requires the variables png
and mask_path
under the outputs folder, is it also generated by SAM3D? How can I get them, thank you!
https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get%20bbox%20prior/scene_frame_ncut.py#L138
https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get%20bbox%20prior/scene_frame_ncut.py#L145-L149
Thank you for your timely reply! It indeed helps to produce the
.pth
file under train/val folder. However, I still have the problem about getting the.pth
file under theinit_segments
folder just as described previously:Also, in
get_dis_matrix.py
, it requires the input ofinit_segments
, is it the output of initial superpoints produced byinitialSP_prepare_ScanNet.py
? However, it seems to come with the postfix_superpoint.npy
instead of.pth
. https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get_dis_matrix.py#L31-L39These files are used in
get_dis_matrix.py
:Thank again for your timely reply! Also, it will be of great help if you can take a look at #7 , I still face the problem of the dimension of the dino output tensor to run
project_features.py
.
For faster reading and less storage, we changed .pth to .npy format. Sorry that we did not synchronize the modification in the subsequent files due to our negligence. You only need to modify .pth into _superpoint.npy format.
I also find out that the
scene_frame_ncut.py
andscene_frame_merge.py
requires the variablespng
andmask_path
under the outputs folder, is it also generated by SAM3D? How can I get them, thank you!
For 2D mask acquisition, referring to our paper, the use of SAM is not allowed in the unsupervised setting. We follow cutler, it is an unsupervised image segmentation algorithm.
I also find out that the
scene_frame_ncut.py
andscene_frame_merge.py
requires the variablespng
andmask_path
under the outputs folder, is it also generated by SAM3D? How can I get them, thank you! https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/get%20bbox%20prior/scene_frame_ncut.py#L138For 2D mask acquisition, referring to our paper, the use of SAM is not allowed in the unsupervised setting. We follow cutler, it is an unsupervised image segmentation algorithm.
Thank you for your reply! I will try this.
Thank you very much for your work! I encountered some issues while generating pseudo masks:
.pth
file inproject_feature.py
? (lines 157-160). It seems the output ofdata_prepare_ScanNet.py
are files end with.ply
. https://github.com/SooLab/Part2Object/blob/65d728edecdb461bf6fd88c173996874ae862c45/pseudo_mask_gen/project_feature.py#L156C1-L160C92scannet_frames_25k
(≈6G) version?Thanks again for your hard work and support!