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

Error in examples/demo.ipynb testing on a batch #332

Open
ywangmy opened this issue Nov 17, 2022 · 0 comments
Open

Error in examples/demo.ipynb testing on a batch #332

ywangmy opened this issue Nov 17, 2022 · 0 comments

Comments

@ywangmy
Copy link

ywangmy commented Nov 17, 2022

In "Testing on a batch":

fig = plt.figure(figsize=(10, 5))
for i, pred in enumerate(preds):
    plt.subplot(1, 2, i + 1)
    plt.imshow(frames[1])
    plt.title(f'frame[{i}]')
    for detection in pred:
        plt.scatter(detection[:,0], detection[:,1], 2)

the 2nd loop is redundant, need to plot pred[:, 0], pred[:, 1] only.

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