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

There is a mistake when I run the train_pcrnet.py #5

Closed
Yellowshuohahaha opened this issue Aug 7, 2020 · 11 comments
Closed

There is a mistake when I run the train_pcrnet.py #5

Yellowshuohahaha opened this issue Aug 7, 2020 · 11 comments

Comments

@Yellowshuohahaha
Copy link

Yellowshuohahaha commented Aug 7, 2020

Hi, vinits5. I meet some mistakes when I run the train_pcrnet.py. It notes that 'subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1'. Do you know how can I solve it?

@vinits5
Copy link
Owner

vinits5 commented Aug 7, 2020

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

@Yellowshuohahaha
Copy link
Author

Yellowshuohahaha commented Aug 7, 2020

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

Thank you very much! I will have a look.

@Yellowshuohahaha
Copy link
Author

Yellowshuohahaha commented Aug 7, 2020

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

@shenqildr
Copy link

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

@Yellowshuohahaha
Copy link
Author

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Thanks to your reply! Could you please share the code ? And I will try to train the model to see the performance.

@shenqildr
Copy link

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Thanks to your reply! Could you please share the code ? And I will try to train the model to see the performance.

You can search for computing chamfer in github, there are many implementations of pytorch.

@wzm2256
Copy link

wzm2256 commented Oct 4, 2020

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Hi, did you try to use the EMD loss? I guess the EMD loss will produce better results.

@Yellowshuohahaha
Copy link
Author

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Hi, did you try to use the EMD loss? I guess the EMD loss will produce better results.

It seems didn't provide the EMDloss? I see the paper says the EMDloss can produce better results, but I havn't try it.

@wzm2256
Copy link

wzm2256 commented Oct 5, 2020

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Hi, did you try to use the EMD loss? I guess the EMD loss will produce better results.

It seems didn't provide the EMDloss? I see the paper says the EMDloss can produce better results, but I havn't try it.

It seems to include a EMD loss: https://github.com/vinits5/pcrnet_pytorch/blob/master/pcrnet/losses/emd.py as a stand alone package that requries installation.

I might be able to test the code in one or two weeks. I will share the result then.

@Yellowshuohahaha
Copy link
Author

Hey Yellowshuohahaha, I recommend you to take a look at this link.
The error is due to the version mismatch of Pytorch.
If the given link resolves the issue then, please let me know.

The problem seems to be solved. But there is another error... I use pytorch 1.4, but it didn't work.
image

I have met the same problem. It seems that the chamfer distances function fails. So I rewrite the chamfer distances module by myself and it works. However, when I retrain the model it fails to reach the same performance as the pretrained model.

Hi, did you try to use the EMD loss? I guess the EMD loss will produce better results.

It seems didn't provide the EMDloss? I see the paper says the EMDloss can produce better results, but I havn't try it.

It seems to include a EMD loss: https://github.com/vinits5/pcrnet_pytorch/blob/master/pcrnet/losses/emd.py as a stand alone package that requries installation.

I might be able to test the code in one or two weeks. I will share the result then.

That would be great! I test the code using chamsfer distance a month ago, but the result are not good. The two point clouds cannot be aligned very well, I will also use emdloss to try, thank you!

@wzm2256
Copy link

wzm2256 commented Feb 6, 2021

@Yellowshuohahaha Sorry for the delay.. I run the code several month ago, but I forgot to share my results.

In general, the model does not converge to the same results everytime, and you may want to see https://github.com/zhulf0804/PCReg.PyTorch for the numerical comparison.

I run the script with default settings, and one of the results is as follows:
image
It is clear to see a gradient explosion in around epoch 100.
It might be beneficial to use smaller learning rate than the default value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants