Skip to content

a small bug on test_on_single_image.py #21

@oujin

Description

@oujin

In the 36th line of test_on_single_image.py, '''img_tensor = img_tensor / 255.0''', but in the 34th line '''resize_image_with_pad''' had done it (in the 10th line of utils.preprocess.py), that means max(img_tensor)=0.0039 not 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions