-
Notifications
You must be signed in to change notification settings - Fork 52
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
How do I actually test the pretrained model? #16
Comments
Hi, Thanks for reporting the issue. I've made some breaking changes in the MinkowskiEngine and I didn't update the other codebase. This is due to collation function returning the original input data type. You could download the latest indoor.py from the MinkowskiEngine master or Could you try
|
It ran successfully now. Thanks! PS: There is a a typo in readme,
|
[EDIT] One more question regarding testing pretrained model; what preprocessing is required if I want to test my custom indoor .PLY file? When I try custom .PLY I get the following error,
@chrischoy I figured the problem is I am trying to get predictions for a plane PLY file i.e |
The network is trained assuming that there is color input features. If you do not have color channels, you have to train the network from scratch without any feature (or simply occupancy which is 1-vector like https://github.com/chrischoy/FCGF/blob/master/lib/data_loaders.py#L215). |
@chrischoy Alright! Thanks for the clarification. |
Hi @chrischoy Apologies for bothering again. I tried to understand how can I train using existing network without color (only geometry) from scratch but I couldn't get my head around it; maybe lack of understanding from my side. Can you point me on how exactly I should go about it? I was thinking of training the network & share the model here for other people to use. |
In the data loader, you can simply feed torch.ones(N, 3) instead of color. However, using 3 channels for just no information is redundant. So feed torch.ones(N, 1) as a feature and make the network to take 1 channel as an input. |
Hi Chris,
This might be a relatively trivial question but for some reason I am not able to test any custom .ply file (as well as any file from scannet).
if I run,
I get the following error;
To counter above issue, if I add
return_index=True
inME.utils.sparse_quantize
, i get this,What could be the possible cause?
The text was updated successfully, but these errors were encountered: