Skip to content

All predictions are shifted #4

@federico-ferlito

Description

@federico-ferlito

I was checking the predictions of the batdetect2 api's model, and it seems that all the predictions are consistently shifted. It seems to be a scaling issue most likely, as the first annotations on the left are more correct. Here you can see the same boxes plotted with:

# generate spectrogram
spec = api.generate_spectrogram(audio, config=config)
# compute the detections
detections, _ = api.process_spectrogram(spec, config=config)
# plot detections
ax = plot.spectrogram_with_detections(spec, detections, config=config, figsize=(15, 4))

bat

and the same predictions visualized with the GUI
Screenshot from 2024-09-13 10-01-56

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