DirtyHarryLYL/HAKE-Action-Torch

Whenpython train_gt_pasta.py --config_path configs/gt-pasta_gt-bbox.yml --exp gt-pasta_gt-bbox_eval --eval,HO_weight is not defined.

Closed this issue · 2 comments

python train_gt_pasta.py --config_path configs/gt-pasta_gt-bbox.yml --exp gt-pasta_gt-bbox_eval --eval
Traceback (most recent call last):
File "/home/data/qiao/HAKE-Action-Torch-HAKE-Reason/train_gt_pasta.py", line 23, in
from dataset import (
File "/home/data/qiao/HAKE-Action-Torch-HAKE-Reason/dataset.py", line 9, in
from util.pasta_utils import P_num
File "/home/data/qiao/HAKE-Action-Torch-HAKE-Reason/util/pasta_utils.py", line 23, in
'labels_r': torch.from_numpy(HO_weight).float(),
NameError: name 'HO_weight' is not defined

'HO_weight' is not used in the current version. Bug fixed :)