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

Pretrained weights not available #8

Open
tsbiosky opened this issue May 25, 2023 · 2 comments
Open

Pretrained weights not available #8

tsbiosky opened this issue May 25, 2023 · 2 comments

Comments

@tsbiosky
Copy link

tsbiosky commented May 25, 2023

Hi, I tired the pretrained weights but the prediction was very bad , the values for XYZ are in [-600,1000].
So I trained the model from scratch. but still get lower performance

test MAPE = 324.9508972167969
mae for x is 0.1080006290689424
mae for y is 0.09140279204298475
mae for z is 0.09259880900528002

the visualization results show the model always predict the same pose like this

1000
2000
1
500
I don't how to solve this issues
would you like to update a pretrained weights ? thanks

@SizheAn
Copy link
Owner

SizheAn commented May 27, 2023

How's the loss? And are you following the exact version number in the installation guide? I suspect that could be keras' version problem. I remember I've faced some similar errors before.

Which version of python, tensorflow, keras are you using? Also, which graphic card and cuda version? TF2 and keras might have some computing issues with RTX 30 series card with old version of cuda (10.x). Using Keras 2.3.0 and TF 2.2.0, cuda 10.1 with RTX 2080 everything runs smoothly. I recently switched to pytorch and it has no problem with RTX 30 series either. Due to my limited band width, I haven’t uploaded the code to the github.

I will try to upload the pytorch model and pretrained weights in this page in the future.

@tsbiosky
Copy link
Author

@SizheAn , thank you for your quick reply !
I'm using Keras 2.4.3 TF 2.2.0 cuda 11.8 with RTX 4070Ti , I can't get the same environment and cuda version due to my hardware .

Here is the loss , it converges around 0.0173
loss

Btw, I also tried to use Pointnet to replace CNN , but still get similar results

test MAPE = 316.0719909667969
mae for x is 0.10843670352503432
mae for y is 0.07936162722608399
mae for z is 0.09297142448554381

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

2 participants