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

Unable to predict using single test image with no ground truth image #195

Open
purijs opened this issue Oct 29, 2020 · 0 comments
Open

Unable to predict using single test image with no ground truth image #195

purijs opened this issue Oct 29, 2020 · 0 comments

Comments

@purijs
Copy link

purijs commented Oct 29, 2020

My export params:

parser.add_argument("--input_dir", default="./data/combined/", help="path to folder containing images")
parser.add_argument("--mode", default="export", choices=["train", "test", "export"])
parser.add_argument("--output_dir", default="./exports", help="where to put output files")
parser.add_argument("--seed", type=int, default=121)
parser.add_argument("--checkpoint", default='./output', help="directory with checkpoint to resume training from or use for testing")

This is what is exported:

image

Testing params:

parser = argparse.ArgumentParser()
parser.add_argument("--model_dir", default="./exports/", help="directory containing exported model")
parser.add_argument("--input_file", default="./test.png", help="input PNG image file")
parser.add_argument("--output_file", default="./output.png", help="output PNG image file")
a = parser.parse_args([])

Error: It wont work for "/export" also instead of "/export/checkpoint"
image

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