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

TypeError: unhashable type: 'slice' #181

Open
neverstoplearn opened this issue May 23, 2022 · 0 comments
Open

TypeError: unhashable type: 'slice' #181

neverstoplearn opened this issue May 23, 2022 · 0 comments

Comments

@neverstoplearn
Copy link

Traceback (most recent call last):
File "/home/zhengxin/anaconda3/envs/pytorch/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
fn(i, *args)
File "/home/zhengxin/humanpose.pytorch/tools/train.py", line 223, in main_worker
perf_indicator = validate(
File "/home/zhengxin/humanpose.pytorch/tools/../lib/core/function.py", line 204, in validate
name_values, perf_indicator = val_dataset.evaluate(
File "/home/zhengxin/humanpose.pytorch/tools/../lib/dataset/mpii.py", line 100, in evaluate
preds = preds[:, :, 0:2] + 1.0
TypeError: unhashable type: 'slice'

how can i fix it? thanks.

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