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

How to inference in headless mode? #34

Open
hrcheng98 opened this issue Mar 17, 2023 · 3 comments
Open

How to inference in headless mode? #34

hrcheng98 opened this issue Mar 17, 2023 · 3 comments

Comments

@hrcheng98
Copy link

hrcheng98 commented Mar 17, 2023

I found the following code in src/train.py line 523

parser.add('--inference', action='store_bool', default=False)

Does this mean there's some way to run src/train.py to inference?

@Wangcongyu620
Copy link

I have also encountered the same problem. Can you inference this part? Can you learn from the inference code and look forward to your reply!

@hrcheng98
Copy link
Author

Wangcongyu620

As far as I know, there's no official inference code with a headless setting. I implemented the inference code myself based on the training code.

@Wangcongyu620
Copy link

I'm sorry for not being able to reply to you in a timely manner. Can you share the inference code with me?Thank you @hrcheng98

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