Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #11

Open
ssbilakeri opened this issue Oct 28, 2020 · 0 comments
Open

IndexError: list index out of range #11

ssbilakeri opened this issue Oct 28, 2020 · 0 comments

Comments

@ssbilakeri
Copy link

when I run code for baseline_triplet_config.txt getting bellow error .please suggest the reason

File "demo.py", line 9, in
trainer.train()
File "D:\project_dir\HJL-REID\MDRSREID\Trainer\MDRSReIDTrainer.py", line 105, in train
pred = self.model.forward(item, cfg=self.cfg, forward_type='Supervised')
File "D:\project_dir\HJL-REID\MDRSREID\Networks_init_.py", line 101, in forward
return self.model(in_dict, cfg, forward_type=forward_type)
File "C:\Users\ssbilakeri\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "D:\project_dir\HJL-REID\MDRSREID\Networks\MDRS_init_.py", line 52, in forward
out_dict['multi_seg_pred_list'] = self.multi_seg_forward(in_dict)
File "D:\project_dir\HJL-REID\MDRSREID\Networks\MDRS_init_.py", line 38, in multi_seg_forward
return self.multi_seg(in_dict)
File "C:\Users\ssbilakeri\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "D:\project_dir\HJL-REID\MDRSREID\Networks\MDRS\MDRS_multi_seg.py", line 105, in forward
multi_seg_pred_list.append(self.conv(self.relu(self.bn(self.deconv(feat_list[i])))))
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant