Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different features for each run? #14

Closed
katadam opened this issue Feb 1, 2021 · 7 comments
Closed

Different features for each run? #14

katadam opened this issue Feb 1, 2021 · 7 comments
Assignees
Labels
Resolved This is already resolved

Comments

@katadam
Copy link

katadam commented Feb 1, 2021

Hello and thanks for the terrific code.

I have one question, I am trying to use OcCo pretrained network on the semantic segmentation task to extract features and perform dense matching of 3d points (either Pointnet or pcn).

I have saved and I am loading the same h5 file to avoid alternations due to different sampling. However, if I run the encoder twice (with the same tensor as points), I do not get determenistic results and the returned feature tensors are different, without changing anything. I am in mode model.eval() to have a defined dropout. Could you elaborate please?

@hansen7 hansen7 self-assigned this Feb 2, 2021
@hansen7 hansen7 added the InProgress Ongoing Paper label Feb 2, 2021
@katadam
Copy link
Author

katadam commented Feb 4, 2021

I have tried to load the occo weights for the pointnet model (for the semantic segmentation task). However, some weights are missing ({'module.conv4.weight', 'module.conv4.bias', 'module.feat.stn.conv1.weight', 'module.feat.conv1.weight'}
) when model is loaded in Torch. Thus, weights are randomly initialized and lead to non-deterministic descriptors for the same input. Would you mind updating the model with all the weights? Thanks!

@hansen7
Copy link
Owner

hansen7 commented Feb 4, 2021

Hi @katadam, the provided pre-trained weight is from the completion pre-training task, for encoding an object you don't need to load the entire classification version of the PointNet

@katadam
Copy link
Author

katadam commented Feb 4, 2021

Thanks for the answer @hansen7 . Yes, I have noticed that, however, I want to extract features for a semantic segmentation. This is why I am loading PointNet (local and global features aggregated). To obtain the weights for this task, I should finetune on a semantic segmentation dataset (s3dis, Scannet), the models you are providing or pre-train the whole PointNet ?

@hansen7
Copy link
Owner

hansen7 commented Feb 4, 2021

we have many downstream tasks, I cannot provide all the fine tuned weights for all of them。。。

@katadam katadam closed this as completed Feb 4, 2021
@katadam katadam reopened this Feb 4, 2021
@katadam
Copy link
Author

katadam commented Feb 4, 2021

@hansen7 thanks for your answer!
Yes I do get that about the fine-tuned weights, I was just asking if you have the models with OcCo Weights for the semantic segmentation task, as right now you are providing weights for classification and segmentation (so global descriptors for the 3 networks and not global+local as wanted for the semantic segmentation task.)

@hansen7
Copy link
Owner

hansen7 commented Feb 6, 2021

It is on the same location of the google drive。。。namely, {modelname}_occo_seg.pth

@katadam
Copy link
Author

katadam commented Feb 6, 2021

Thanks @hansen7 , ok, it is clear now. I was wondering if you had a model for pre-trained on shape completion for the whole point net model (the one you are providing + the transformation networks). But I will use the one for part segmentation (namely, {modelname}_occo_seg.pth), finetune it on s3dis to get the weights for the extra layers and use that as an encoder to my other dataset to extract semantic segmentation features.

@hansen7 hansen7 added Resolved This is already resolved and removed InProgress Ongoing Paper labels Feb 7, 2021
@hansen7 hansen7 closed this as completed Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolved This is already resolved
Projects
None yet
Development

No branches or pull requests

2 participants