Skip to content

Conversation

@Quan030994
Copy link
Collaborator

Dear anh Ngọc,

Em có submit phần predict cho Highway network anh xem giúp em ạ.

E cảm ơn anh.

@Quan030994 Quan030994 requested a review from bangoc123 September 5, 2021 14:38
Copy link
Contributor

@bangoc123 bangoc123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ủa mà sao code bên này cũng có model thế em?

Comment on lines +38 to +46
# Load test images from folder
# image = tf.keras.preprocessing.image.load_img(args.test_file_path, target_size=(args.image_size, args.image_size))
# image = tf.image.rgb_to_grayscale(
# image, name=None
# )
# input_arr = tf.keras.preprocessing.image.img_to_array(image)
# img = input_arr.reshape(-1,28,28,1).astype("float32") / 255

# Normalize data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ủa sao chỗ này nhiều comment thế em nếu không dùng thì remove nhé @Quan030994

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dạ vâng anh, có gì anh xem giúp em file predict nếu cần sửa thì em sửa lại luôn và push lại ạ.

# Normalize data

# x_train = train_images.reshape(60000, 784).astype("float32") / 255
img = test_images.reshape(-1, 28, 28, 1).astype("float32") / 255
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Quan030994 dùng tham số image-size ở bên trên khi truyền vào file.

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

Successfully merging this pull request may close these issues.

3 participants