Background execution

FoodIntake
Fri, 02 Feb 2024 14:42:01 +0000

🚀 INFO   | 2024-02-02 14:32:04 | __main__:train:218 - Pushing model to hub...
❌ ERROR  | 2024-02-02 14:32:04 | autotrain.trainers.common:wrapper:91 - train has failed due to an exception: Traceback (most recent call last):
  File "/app/env/lib/python3.10/site-packages/autotrain/trainers/common.py", line 88, in wrapper
    return func(*args, **kwargs)
  File "/app/env/lib/python3.10/site-packages/autotrain/trainers/seq2seq/__main__.py", line 220, in train
    api.create_repo(repo_id=config.repo_id, repo_type="model", private=True)
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 110, in _inner_fn
    validate_repo_id(arg_value)
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 158, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'FoodIntake/FoodIntake/portion-to-quantity-unit-task'. Use `repo_type` argument if needed.

❌ ERROR  | 2024-02-02 14:32:04 | autotrain.trainers.common:wrapper:92 - Repo id must be in the form 'repo_name' or 'namespace/repo_name': 'FoodIntake/FoodIntake/portion-to-quantity-unit-task'. Use `repo_type` argument if needed.
🚀 INFO   | 2024-02-02 14:32:04 | autotrain.trainers.common:pause_space:49 - Pausing space...

Oh that’s bad, there’s no verification at the start. So I have spent processing time to see that my model can’t be saved