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

How do you change num of classes? #3

Open
sarmientoj24 opened this issue Nov 2, 2020 · 6 comments
Open

How do you change num of classes? #3

sarmientoj24 opened this issue Nov 2, 2020 · 6 comments

Comments

@sarmientoj24
Copy link

How do I change number of classes here? And say, I have 17 classes, what should be the number?

@zzzxxxttt
Copy link
Owner

zzzxxxttt commented Nov 2, 2020

just add the following lines to the config file

MODEL:
    RETINANET:
        NUM_CLASSES: 17

@sarmientoj24
Copy link
Author

i shall be using efficientdet. this is for that too, right?

@zzzxxxttt
Copy link
Owner

yes, it's based on retinanet

@sarmientoj24
Copy link
Author

sarmientoj24 commented Nov 2, 2020

thank you. can i know what is the architecture of the whole efficientdet?

@sarmientoj24
Copy link
Author

hi, this doesnt support non-squared images?

@zzzxxxttt
Copy link
Owner

The data preprocessing pads a non-squared image to squared, if you need to use non-squared input, I think the height and width should be divisible by 256.

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

2 participants