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

Predict a random image?? #50

Open
tuongtranngoc opened this issue Feb 18, 2019 · 3 comments
Open

Predict a random image?? #50

tuongtranngoc opened this issue Feb 18, 2019 · 3 comments

Comments

@tuongtranngoc
Copy link

tuongtranngoc commented Feb 18, 2019

How to predict a single image (random size)?? what file do you run
I run demo_reference.py file, it requere 600x150 include 4 image are combined
Please, thanks

@A-bone1
Copy link
Owner

A-bone1 commented Feb 18, 2019

@NgTuong You can predict a single image by changing the number of view in the configuration file /python/datasets/fsns.py to 1.

@tuongtranngoc
Copy link
Author

HI , @A-bone1 thanks,
i did but miss
Traceback (most recent call last):
File "demo_inference.py", line 98, in
tf.app.run()
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "demo_inference.py", line 91, in main
FLAGS.image_path_pattern)
File "demo_inference.py", line 77, in run
dataset_name)
File "demo_inference.py", line 50, in load_images
path = file_pattern % i
TypeError: not all arguments converted during string formatting

@MGpraveenbond
Copy link

I am also facing the same problem when i run the demo_inference.py . I have set the number of view as 1 in fsns.py .any body got the solution for this.

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

3 participants