Skip to content

How to evaluate your pretrained model? #3

@oconnor127

Description

@oconnor127

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions