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

10-set0-1,2.log #2

Closed
qwer904 opened this issue Apr 10, 2024 · 3 comments
Closed

10-set0-1,2.log #2

qwer904 opened this issue Apr 10, 2024 · 3 comments

Comments

@qwer904
Copy link

qwer904 commented Apr 10, 2024

Your work is awesome, but when I run the visualize.py file I get an error, the error is as follows:
Traceback (most recent call last):
File "visualize.py", line 119, in
visualize_3d_joints(sample_idx, args.checkpoint, eid=args.evaluate_id, setup=setup, pair=pair)
File "visualize.py", line 38, in visualize_3d_joints
lines = open(log).readlines()
NotADirectoryError: [Errno 20] Not a directory: 'data/S2DHand-pretrain/ckp_detnet_37.pth/10-set0-1,2.log'
May I ask where you put your "10-set0-1,2.log" file?

@MickeyLLG
Copy link
Collaborator

MickeyLLG commented Apr 11, 2024

The log file is automatically generated by testing and no existing log file is provided in this project.
For example, kindly run

python3 adapt_detnet_dual.py -trs ah -tes ah --evaluate -eid 37 --gpus 0 --pic -1 --checkpoint pretrain --setup 0 --pair 1,3

and the log file 37-set0,1,3.log should be under pretrain/evaluation/ah.
Then, please run visualize.py again by modifying its arguments accordingly.

If you think testing takes a long time, it is okay to set --pic with a small value.

@qwer904
Copy link
Author

qwer904 commented Apr 12, 2024

Thank you for your answer。But this file does not exist “ train_detnet_dual.py”

@MickeyLLG
Copy link
Collaborator

Sorry, it should be adapt_detnet_dual.py. I have revised the above response.

@qwer904 qwer904 closed this as completed Apr 15, 2024
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

2 participants