-
Notifications
You must be signed in to change notification settings - Fork 62
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
ImportError: cannot import name 'MeshDataset' from 'meshgpt_pytorch' #67
Comments
Hi Stephen, So MeshDataset is a class which I created for meshgpt_pytorch, I made a pull request for it but not sure why it wasn't accepted. If you'd like to use my MeshDataset you can install my fork or just copy and paste MeshDataset into your code. |
That resolves it (init also needs to be updated) Thanks! |
Hi @MarcusLoppe , I didnt think I have this issue before but now im getting:
Do you by any chance have any pointers? Thank you! |
Oh, I'm not sure, the train function is: Python has some weird issues so have you give it a go restarting the notebook kernel? I'm currently running the below and it's working. Also, target a batch size of 64, if you got enough VRAM, set the batch size to 64 and grad_accum_every to 1. Larger batch size equals faster the training time. Otherwise try to get a total effective batch size of 64 by changing grad_accum_every so it will equal 64:
|
Thank you! Reinstalled the package and it went away, just seems to be kernel/package issues |
Hi, I am running the demo and it seems like MeshDataset can not be imported from meshgpt_pytorch. Any help @lucidrains would be greatly appreciated!
The text was updated successfully, but these errors were encountered: