tiny-training icon indicating copy to clipboard operation
tiny-training copied to clipboard

how to run the usage in algorithm

Open Django-Jiang opened this issue 1 year ago • 0 comments

I follow the setup in the algorithm, and I fail to replicate the procedure in scripts by encountering the following error:

  File "path/tiny-training/algorithm/train_cls.py", line 11, in <module>
    from core.model import build_mcu_model
  File "path/tiny-training/algorithm/core/model/__init__.py", line 1, in <module>
    from .model_entry import *
  File "path/tiny-training/algorithm/core/model/model_entry.py", line 2, in <module>
    from ...core.utils.config import configs 
ValueError: attempted relative import beyond top-level package

So what is the right way to boot the script, thx for any help

Django-Jiang avatar May 25 '23 20:05 Django-Jiang