pytorch-3d-point-cloud-generation
pytorch-3d-point-cloud-generation copied to clipboard
Encounter a runtime error when trying to run train_stg1.py
Hi, I am very new to this repo and when I tried to run train_stg1.py, the following runtime error occurs and I am a bit puzzled of the reason why:
======= TRAINING START =======
Epoch 0:
Traceback (most recent call last):
File "../train_stg1.py", line 45, in
In addition, the user is required to create a logs
folder under scripts
folder such that a log file can be created automatically before training. I suggest including this information in the README.
Thanks!
Okay, it turns out that there exists a difference in how the tensor is stored in memory now. I solve that by either reshaping or add .contiguous()
before .view(-1, 4096)
.