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

Which path to use for "from model.P5 import P5" #29

Open
mgulcin opened this issue May 14, 2024 · 0 comments
Open

Which path to use for "from model.P5 import P5" #29

mgulcin opened this issue May 14, 2024 · 0 comments

Comments

@mgulcin
Copy link

mgulcin commented May 14, 2024

I'm using the release branch (assuming it is stable) and trying to run an example test. I have only a single gpu, hence changed the test command with: ...--distributed 0 --gpu 0...

While running the command I receive the following error:

Traceback (most recent call last):
  File "/content/drive/MyDrive/OpenP5-release-1.0/test_command/../src/main.py", line 17, in <module>
    from model.P5 import P5
ModuleNotFoundError: No module named 'model.P5'

In model directory, there are "P5_T5.py" or "P5_LLAMA.py" files. Which one should be used? Or what is the right way for running the test commands?

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