Skip to content

test IndexError #2

@hanklin3

Description

@hanklin3

Hi I'm getting this error.

epoch 660 running loss = 9290.15234375
epoch 670 running loss = 9752.0048828125
epoch 680 running loss = 10089.88671875
epoch 690 running loss = 8728.25
epoch 700 running loss = 8996.896484375
saving model iter 700 in /tmp/deep_shadow/models//rose_LR=5e-05_dev=mixed_700_snapshot.pth
Normed Depth Prediction Error = 0.07724940776824951
Traceback (most recent call last):
  File "train.py", line 413, in <module>
    run(args_, task_name_)
  File "train.py", line 366, in run
    test(depth_hat, writer)
  File "train.py", line 276, in test
    shadow_hat[points_to_calc[idx][0].long(), points_to_calc[idx][1].long()] = 1
IndexError: index 259 is out of bounds for dimension 0 with size 4

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