tjqansthd / LapDepth-release

Monocular Depth Estimation Using Laplacian Pyramid-Based Depth Residuals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backbone-EfficientNet

DexterZzz1010 opened this issue · comments

Hi,there.
When I used EfficientNet for model training by changing args, an error occurred:
`
Traceback (most recent call last):
File "train_NoDistribute.py", line 193, in
main_worker(args.gpu, ngpus_per_node, args)
File "train_NoDistribute.py", line 162, in main_worker
loss = train_net(args, Model, optimizer, train_loader,val_loader, args.epochs,logger)
File "/home/zyf/LapDepth-release-master/trainer_NoDistribute.py", line 193, in train_net
d_res_list, outputs = model(inputs)
File "/home/zyf/anaconda3/envs/openmmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/zyf/LapDepth-release-master/model.py", line 960, in forward
out_featList = self.encoder(x)
File "/home/zyf/anaconda3/envs/openmmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
return forward_call(*input, **kwargs)
File "/home/zyf/LapDepth-release-master/model.py", line 506, in forward
if self.block_idx[block_cnt] == cnt:
IndexError: list index out of range

`
I would like to know if you have the above issues during training, and if it is related to my training environment (I use a single GPU for training)
deeply grateful