facebookresearch / DeepSDF

Learning Continuous Signed Distance Functions for Shape Representation
MIT License
1.38k stars 255 forks source link

Can't run train_deep_sdf.py #80

Open novauto-nju opened 3 years ago

novauto-nju commented 3 years ago

when I run train_deep_sdf.py.It will report : (py36) D:\DeepSDF>python train_deep_sdf1.py -e examples/lamps DeepSdf - INFO - ['This experiment learns a shape representation for lamps ', 'using data from ShapeNet version 2.'] DeepSdf - INFO - training with 1 GPU(s) DeepSdf - INFO - There are 897 scenes DeepSdf - INFO - starting from epoch 1 DeepSdf - INFO - Number of decoder parameters: 1844221 DeepSdf - INFO - Number of shape code parameters: 229632 (# codes 897, code dim 256) DeepSdf - INFO - epoch 1... Traceback (most recent call last): File "train_deep_sdf1.py", line 627, in main_function(args.experiment_directory, args.continue_from, int(args.batch_split)) File "train_deep_sdf1.py", line 484, in main_function sdf_data = sdf_data.reshape(-1, 4 + 3) # Added 3 extra dimensions to data RuntimeError: shape '[-1, 7]' is invalid for input of size 65536

facebook-github-bot commented 3 years ago

Hi @novauto-nju!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!