Skip to content

How could I test my own image to detect formula? #9

@f771216203

Description

@f771216203

I try to test my own image, but I don't know how to do it.
I try this code:
python3 test.py
--dataset_root ./
--trained_model AMATH512_e1GTDB.pth
--visual_threshold 0.25
--cuda True
--exp_name test_MATH512
--test_data ./ --suffix "_512"
--model_type 512 --cfg hboxes512
--padding 0 2
--kernel 1 5
--batch_size 8

If I want to test an image, what should I put in dataset_root and test_data ?

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