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

Euler angle visualization #12

Open
khandriod opened this issue Mar 16, 2022 · 4 comments
Open

Euler angle visualization #12

khandriod opened this issue Mar 16, 2022 · 4 comments

Comments

@khandriod
Copy link

The demo file runs the camera. How to make inference on videos and images?

I want below results that was represented in your paper.
image

Thanks

@khandriod khandriod changed the title Euler angle visulativation. Euler angle visualization Mar 16, 2022
@thohemp
Copy link
Owner

thohemp commented Mar 16, 2022

Check here: https://github.com/thohemp/6DRepNet/blob/master/utils.py#L54

It's already implemented in the test.py script. Set --show_viz True. This will save the first image of each batch. Change these lines for your convenience. https://github.com/thohemp/6DRepNet/blob/master/test.py#L155

@khandriod
Copy link
Author

Thanks. But what is the full command to make inference on videos and images using per-trained model?

@thohemp
Copy link
Owner

thohemp commented Mar 16, 2022

Check the readme.md

python test.py  --batch_size 64 \
                --dataset ALFW2000 \
                --data_dir datasets/AFLW2000 \
                --filename_list datasets/AFLW2000/files.txt \
                --snapshot output/snapshots/1.pth \
                --show_viz False 

@khandriod
Copy link
Author

khandriod commented Mar 17, 2022

What is filename_list? and is there way to train the model on custom datasets?

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