Skip to content

Insufficient shared memory or the value of the tensor for reference image goes to 0  #70

@DeepanshuMakkar

Description

@DeepanshuMakkar

If I train the network with a default value of batch size and number or workers i get the error.

RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 128 and 0 in dimension 2 at /pytorch/aten/src/TH/generic/THTensor.cpp:718

Even when I reduce the number of workers and batch size I receive this error, one of the column of tensor for reference image goes to 0.

Can you please help me with this error, i tried debugging but could not reach any solution I am using google colab's GPU.

Can you also please tell me what would be the minimum RAM requirement to train ESRGAN? Do you use multiple GPUS to train it? I am really excited to learn more about the network and train it but i am stuck at this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions