Skip to content

testing issue #2

Description

@Nusrat17

while testing I get this error


Working on the IMG_1187_eslf dataset
Loading input light field ...Done


Synthesizing novel views

View 01 of 64


Estimating depth

Extracting depth features... Traceback (most recent call last):
File "test_gan.py", line 110, in
test_gan()
File "test_gan.py", line 105, in test_gan
synthesize_novel_views(depth_net, color_net, curInputLF, curFullLF, resultPath)
File "test_gan.py", line 65, in synthesize_novel_views
synthesizedView = evaluate_system(depth_net, color_net, images=inputLF, refPos=curRefPos)
File "/lustre03/project/6003167/nusratm/gan_lf_syn/train_gan.py", line 146, in evaluate_system
deltaY = inputView.Y - refPos[0]
File "/lustre03/project/6003167/nusratm/viewsynenv/lib/python3.7/site-packages/torch/tensor.py", line 511, in rsub
return _C._VariableFunctions.rsub(self, other)
TypeError: rsub() received an invalid combination of arguments - got (Tensor, numpy.ndarray), but expected one of:

  • (Tensor input, Tensor other, *, Number alpha)
  • (Tensor input, Number other, Number alpha)

thanks in advance

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