microsoft / S2R-DepthNet

MIT License
167 stars 34 forks source link

TypeError:'int' object is not subscriptable during testing #7

Closed wangzizhe closed 3 years ago

wangzizhe commented 3 years ago

Hi, during testing these is an error arised

TypeError:'int' object is not subscriptable

image

Some codes of transform.py maybe need to be modified to fix this error. Could you please have a check of this issue?

Thanks a lot in advance.


My setup (for reference) image

Xt-Chen commented 3 years ago

During the test, the outdoor scene image's size needs to be set to 192x640. As I wrote in the readme, you should set "--loadSize 192 640".

wangzizhe commented 3 years ago

solved, thx :-)