roboflow / roboflow/roboflow-python

Bug when getting model from project version

Open
#296 1 comment 0 reactions 1 assignee View on GitHub

@joaomarcoscrs is already working on this.

Since Jul 23, 2024.

bug
Dominant language
Python
Stars
629
Forks
140
Avg merge
2d 2h
Merged PRs (30d)
5

Description

For some projects versions, the model is being None when it should not be.

This happens because the API may return a single 'model' key, not always 'models' on the check below

https://github.com/roboflow/roboflow-python/blob/3620fda4b84bd495ec2a2a2ebbfad6e7951189c6/roboflow/core/version.py#L100

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.