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

Output_Image #32

Open
tom-bu opened this issue Jan 16, 2018 · 2 comments
Open

Output_Image #32

tom-bu opened this issue Jan 16, 2018 · 2 comments

Comments

@tom-bu
Copy link

tom-bu commented Jan 16, 2018

Is there currently a way to see all of the segmented test images? By default only one of these images is saved, which is the testing_image.png. And in model.py, I saw that there's the option of uncommenting

writeImage(im[0], 'out_image/'+str(image_filenames[count]).split('/')[-1])
count+=1

but is that enough to save more of the test images?

@tom-bu
Copy link
Author

tom-bu commented Jan 16, 2018

It seemed more complicated than I thought at first, but I got it. However, if anyone is still wondering how to see all of the segmented images, I'll go ahead and answer my question. You have to go to model.py, and first uncomment the two line from my previous post. Then, write

count=0

under

with tf.Session() as sess:

and add a file named "out_image" in your Tensorflow-SegNet file. The images should all be stored there. And that's it.

@tom-bu tom-bu closed this as completed Jan 16, 2018
@tom-bu tom-bu reopened this Jan 16, 2018
@tom-bu
Copy link
Author

tom-bu commented Jan 16, 2018

However, it would be nice if the master file already had the count=0 commented in model.py and have an out_image file to make it more convenient to get right away.

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