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

Fix bug that Unable to print for prediction time when verbose=2 #521

Merged
merged 3 commits into from Jul 17, 2022

Conversation

YoungjaeDev
Copy link
Contributor

Error executing below in current code

result = get_sliced_prediction(
    "demo_data/small-vehicles1.jpeg",
    detection_model,
    slice_height = 256,
    slice_width = 256,
    overlap_height_ratio = 0.2,
    overlap_width_ratio = 0.2,
    verbose=2
)

@fcakyon
Copy link
Collaborator

fcakyon commented Jul 14, 2022

@youngjae-avikus thanks a lot for catching it!

@fcakyon
Copy link
Collaborator

fcakyon commented Jul 14, 2022

Can you please reformat your code with:

pip install -e ."[dev]"
black . --config pyproject.toml
isort .

@YoungjaeDev
Copy link
Contributor Author

@fcakyon
I modified it

@YoungjaeDev
Copy link
Contributor Author

@fcakyon

There is a build error due to the connection error, is it a network problem?

@fcakyon fcakyon merged commit 91a0bec into obss:main Jul 17, 2022
@fcakyon
Copy link
Collaborator

fcakyon commented Jul 17, 2022

@youngjae-avikus that connection error is not related to us, thanks a lot for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants