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

Assertion error when running version.train #314

Open
venkatram-dev opened this issue Aug 20, 2024 · 0 comments
Open

Assertion error when running version.train #314

venkatram-dev opened this issue Aug 20, 2024 · 0 comments

Comments

@venkatram-dev
Copy link
Contributor

venkatram-dev commented Aug 20, 2024

While debugging #311 , stumbled upon another issue.

Steps to reproduce

From the UI, Created a new project, new version with sample dataset, created version.

Ran the training code.


workspace = rf.workspace()

project = workspace.project('test2-forest-fire-detection')

version = project.version(6)

print ('version',version)

version.train()

Getting error

Traceback (most recent call last):
  File "/Users/venkat/Documents/robo_python_trial/r_train.py", line 13, in <module>
    version.train()
  File "/Users/venkat/Documents/robo_python_trial/rvenv/lib/python3.12/site-packages/roboflow/core/version.py", line 450, in train
    assert self.model
           ^^^^^^^^^^
AssertionError
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