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 evaluate your pretrained model? #3

Open
oconnor127 opened this issue Oct 31, 2020 · 0 comments
Open

How to evaluate your pretrained model? #3

oconnor127 opened this issue Oct 31, 2020 · 0 comments

Comments

@oconnor127
Copy link

Hey,

I simply want to run your pretrained model. How is that possible? What I have done:
I used your Kitti download script and modified the download path.
I run:

  1. "python main.py --evaluate workspace/kitti/pncnn/model_best.pth.tar"
  2. "python main.py --evaluate workspace/kitti/pncnn/checkpoint-9.pth.tar"
  3. "python main.py --evaluate workspace/kitti/pncnn/args.json" (with adjusting the path for the data)

all of them bring me the following message:
File "main.py", line 290
print('[Train] Epoch ({}) [{}/{}]: '.format(epoch, i+1, len(dataloader)), end='')
SyntaxError: invalid syntax

Why the error? Seems like it jumps in the training routine..? Could you pls give instructions how to run your code with your pretrained model? What exactly to choose as checkpoint path? Do I have to modify any file except the datadownloader (e.g. the args.json as well) ?

Thanks

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

1 participant