You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone help me with this.
I am training on custom dataset and i have changes image dataset class as per my need.
The error below is coming when i am starting training the model.
[rank0]: making sure all forward function outputs participate in calculating loss.
[rank0]: If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's forward function. Please include the loss function and the structure of the return value of forward of your module when reporting this issue (e.g. list, dict, iterable).
[rank0]: Parameter indices which did not receive grad for rank 0: 338 339 340 341 342 343 344 345 346 347 348 349 350
[rank0]: In addition, you can set the environment variable TORCH_DISTRIBUTED_DEBUG to either INFO or DETAIL to print out information about which particular parameters did not receive gradient on this rank as part of this error
i have changed the get_item method
def getitem(self, i):
example = dict()
original_image = self.preprocess_image(self.labels["file_path_"][i])
noisy_image = self.add_noise(original_image)
I didn't modify the code, and I encountered the same issue as you when training VQVAE with a custom dataset. Have you resolved your issue? Looking forward to your response.
I didn't modify the code, and I encountered the same issue as you when training VQVAE with a custom dataset. Have you resolved your issue? Looking forward to your response.
yes,
from pytorch_lightning.plugins import DDPPlugin
go to line number 523 in main.py and add the below code just below the line number 523 and before 526.
I didn't modify the code, and I encountered the same issue as you when training VQVAE with a custom dataset. Have you resolved your issue? Looking forward to your response.
yes,
from pytorch_lightning.plugins import DDPPlugin
go to line number 523 in main.py and add the below code just below the line number 523 and before 526.
Can anyone help me with this.
I am training on custom dataset and i have changes image dataset class as per my need.
The error below is coming when i am starting training the model.
[rank0]: making sure all
forward
function outputs participate in calculating loss.[rank0]: If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's
forward
function. Please include the loss function and the structure of the return value offorward
of your module when reporting this issue (e.g. list, dict, iterable).[rank0]: Parameter indices which did not receive grad for rank 0: 338 339 340 341 342 343 344 345 346 347 348 349 350
[rank0]: In addition, you can set the environment variable TORCH_DISTRIBUTED_DEBUG to either INFO or DETAIL to print out information about which particular parameters did not receive gradient on this rank as part of this error
i have changed the get_item method
def getitem(self, i):
example = dict()
original_image = self.preprocess_image(self.labels["file_path_"][i])
noisy_image = self.add_noise(original_image)
The text was updated successfully, but these errors were encountered: