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

Some questions about code #1

Open
southbanyan opened this issue Oct 30, 2022 · 0 comments
Open

Some questions about code #1

southbanyan opened this issue Oct 30, 2022 · 0 comments

Comments

@southbanyan
Copy link

Thanks a lot for sharing the code and it's really useful for me.
I have two questions about the code.

  1. In function cvtColor (if len(np.shape(image)) == 3 and np.shape(image)[-2] == 3) should we change np.shape(image)[-2] == 3 to np.shape(image)[-1] == 3? I don't quite understand the meaning here.
  2. I have run code with my own dataset and it has pretty good performance, however there was an overfitting. Is Earlystop a good way to avoid overfitting?

Looking forward to your answer. Thanks

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

1 participant