-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error while running image.py #1
Comments
You need to download the released weight file |
@hnuzhy Again getting the same error...!!
|
Maybe you need to change the |
For example, you can manually build a hierarchical folder with path `exps/DAD3DHeads_COCOHead/SSL1.0_r0.05_ce_effinetv2_tDyna0.75_b32_ema_RO_CO_CM_full/Jul18_100557/` under the root path `./SemiUHPE`. Then, you can put the downloaded file https://huggingface.co/HoyerChou/SemiUHPE/blob/main/DAD-WildHead-EffNetV2-S-best.pth into the new path. Finally, you may successfully run the inference script.
|
cmd:
python image.py DAD-COCOHead-ResNet50-best --is_full_range --config settings/DAD3DHeads_COCOHead.yml --network resnet50 --gpu_ids 0
ERROR:
train_labeled : DAD3DHeads
train_unlabeled : COCOHead
type_unsuper : ce
ulb_batch_ratio : 4.0
val_frequency : 1000
Traceback (most recent call last):
File "image.py", line 125, in
config = get_config('test')
File "/home/dhavalsinh/Desktop/research/face_direction/semiuhpe/src/config.py", line 195, in get_config
config = Config(phase)
File "/home/dhavalsinh/Desktop/research/face_direction/semiuhpe/src/config.py", line 37, in init
self.exp_detail, self.date, self.ckpt = self.test_ckpt.split('/')
ValueError: not enough values to unpack (expected 3, got 1)
I think there is some problem within the code
the same issue occurs with video.py
The text was updated successfully, but these errors were encountered: