Skip to content

AssertionError: X and Y should be the same shape #6

@ghost

Description

Hello while I was training the autoenconder I encoder this error message shown below:
Have you ever encountered this error while training?

. . . Epoch: [0][0/361] Batch Time: 0.202 (0.202) sec Loss: 0.05724537745118141 Traceback (most recent call last): File "main2.py", line 489, in <module> main() File "main2.py", line 294, in main valid_loss, _, _ = validation(test_loader,model,epoch,args,chamfer,vis_Valid,vis_Valida,valid_writer) File "main2.py", line 407, in validation vis_Valid.plot_current_errors(epoch, float(i) / epoch_size, args, errors) File "/home/paolo/Documents/Git/RL-GAN-Net/visualizer.py", line 79, in plot_current_errors win=self.display_id) File "/home/paolo/anaconda3/envs/rlgan-venv/lib/python3.7/site-packages/visdom/__init__.py", line 389, in wrapped_f return f(*args, **kwargs) File "/home/paolo/anaconda3/envs/rlgan-venv/lib/python3.7/site-packages/visdom/__init__.py", line 1694, in line assert X.shape == Y.shape, 'X and Y should be the same shape' AssertionError: X and Y should be the same shape

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions