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

Predict code execution error #2

Open
Pluteapple opened this issue Jul 23, 2023 · 7 comments
Open

Predict code execution error #2

Pluteapple opened this issue Jul 23, 2023 · 7 comments

Comments

@Pluteapple
Copy link

Hello! I'm sorry to bother you. In the process of reproducing the dyna dataset, the following error occurs when the predicet code is executed. Please tell me how to solve this problem. I would be very grateful if I could receive your reply.
image

@ChocolateBiscuit
Copy link
Collaborator

Try explicitly casting n_tens_grid into a long tensor.

@Pluteapple
Copy link
Author

I modified it according to the method you provided. As shown in the screenshot, because the obtained value is empty, an error still occurs here. When I iterated for five cycles before, I performed inference and could generate an obj file. However, when I retrained for 200 cycles, I modified the command line and directly reported the original error, and the training results of five previous runs could not be inferred.
image

@ChocolateBiscuit
Copy link
Collaborator

It seems that in this case, as the error indicates, max_len should be converted into an integer.

@Pluteapple
Copy link
Author

I tried it. I trained 50 times on my own data set with 300 obj formats. Finally, the inference is generated as follows. I would like to ask you what are the requirements for the training cycle and the size of the data set? There are also options for cube 0.20, 0.25, etc.
image

@ChocolateBiscuit
Copy link
Collaborator

We are able to train on as small of a dataset as COSEG vases (300). I recommend using either cube_0.05 or cube_0.03. They are the highest resolution grids. I also recommend using the write_to_obj functionality of the meshes and checking that the surface meshes you train on look reasonable.

@Pluteapple
Copy link
Author

Thank you for your patient reply, I will try again, thank you very much

@Pluteapple
Copy link
Author

Hello, I use the A40 graphics card to debug the code. I changed the grids to 0.05 according to your last prompt, and the following video memory error will be reported directly.
image

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