Skip to content

how to run the usage in algorithm #7

@Django-Jiang

Description

@Django-Jiang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions