Skip to content

The training command in Training Scripts doesn't work #155

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

Open
LingyuLi-math opened this issue Apr 4, 2025 · 0 comments
Open

The training command in Training Scripts doesn't work #155

LingyuLi-math opened this issue Apr 4, 2025 · 0 comments

Comments

@LingyuLi-math
Copy link

LingyuLi-math commented Apr 4, 2025

When I try to use the training command of '# d16, 256x256', it happens:

Traceback (most recent call last):
  File "/ssd/users/lingyu/Python/STFoundation/VAR/train.py", line 13, in <module>
    from utils import arg_util, misc
  File "/ssd/users/lingyu/Python/STFoundation/VAR/utils/arg_util.py", line 24, in <module>
    raise e
  File "/ssd/users/lingyu/Python/STFoundation/VAR/utils/arg_util.py", line 19, in <module>
    from tap import Tap
ModuleNotFoundError: No module named 'tap'

But I am sure that I have installed the package,

(py39) lingyu@woody:~/ssd/Python/STFoundation/VAR$ python
Python 3.9.18 (main, Sep 11 2023, 13:41:44) 
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tap import Tap
>>> 

I found you mentioned typed-argument-parser, I also have tried:

try:
    from tap import Tap
except ImportError as e:
    print(f'`>>>>>>>> from tap import Tap` failed, please run:      pip3 install typed-argument-parser     <<<<<<<<', file=sys.stderr, flush=True)
    print(f'`>>>>>>>> from tap import Tap` failed, please run:      pip3 install typed-argument-parser     <<<<<<<<', file=sys.stderr, flush=True)
    time.sleep(5)
    raise e 

But it still cannot be run.
Image

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