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

새로운 이미지에 대한 segmentation 테스트를 진행할 경우 #6

Open
younkipark opened this issue Aug 14, 2020 · 0 comments

Comments

@younkipark
Copy link

image_test = Image.open('test.jpg')
image_test = image_test.resize((224, 224))
image_test = np.array(image_test)
image_test = image_test / 255.
image_test= np.reshape(image_test, (1, 224, 224, 3))

pred = sess.run(pred_annotation, feed_dict={image: image_test, keep_probability: 1.0})

학습된 파라미터를 통해 MIT_Scenparsing Data 내부 이미지가 아닌 새로운 이미지 image_test 에 대한 segmentation 예측 값을 얻어내려는 경우엔 위와 같은 sess.run()함수의 인자에 어떻게 줘야 할 지 알 수 있을까요?

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