tjqansthd / LapDepth-release

Monocular Depth Estimation Using Laplacian Pyramid-Based Depth Residuals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in the script model.py during execution of the code

aliadeeba98 opened this issue · comments

Hello,

I just run the train.py script and I am getting the following error:

File "/home/raai/sparse-to-dense/train_main.py", line 356, in
main()

File "/home/raai/sparse-to-dense/train_main.py", line 269, in main
model = LDRN()

File "/home/raai/sparse-to-dense/model_lapdepth.py", line 912, in init
self.decoder = Lap_decoder_lv6(self.encoder.dimList)

File "/home/raai/sparse-to-dense/model_lapdepth.py", line 740, in init
self.ASPP = Dilated_bottleNeck_lv6(norm, act, dimList[4])

IndexError: list index out of range

Hi, sorry for the late response.

if you want to use lv6 decoder, you should activate --lv6 argument True. In the encoder implementation, args.lv6 argument is checked and the corresponding dimList variable is determined accordingly.

Thank you!