You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I could load the model and load the saved weights and then execute this step to generate the results. completion = sess.run(model.completion, feed_dict={x: img, mask: mask_img, is_training: False}) sample = np.array((completion[0] + 1) * 127.5, dtype=np.uint8) cv2.imwrite('./output.jpg', cv2.cvtColor(sample, cv2.COLOR_RGB2BGR))
I used the images you given as test results.
This is the error I got.
You must feed a value for placeholder tensor 'Placeholder' with dtype float and shape [16,128,128,3]
[[Node: Placeholder = Placeholder[dtype=DT_FLOAT, shape=[16,128,128,3], _device="/job:localhost/replica:0/task:0/device:GPU:0"]
Thank you for the implementation.
The text was updated successfully, but these errors were encountered:
I've achieved on testing images using the author's model, though you maybe don't need answer half years later. First generate a *.npy file using data/to_npy.py, and use it as the input of src/test/test.py, and the outcome pictures will be stored in /src/test/output folder.
I thought I could load the model and load the saved weights and then execute this step to generate the results.
completion = sess.run(model.completion, feed_dict={x: img, mask: mask_img, is_training: False}) sample = np.array((completion[0] + 1) * 127.5, dtype=np.uint8) cv2.imwrite('./output.jpg', cv2.cvtColor(sample, cv2.COLOR_RGB2BGR))
I used the images you given as test results.
This is the error I got.
Thank you for the implementation.
The text was updated successfully, but these errors were encountered: