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

Added -m flag while training baler. Fixes Import Error #286

Closed

Conversation

sanam2405
Copy link

@sanam2405 sanam2405 commented Jul 5, 2023

@exook

Issue

  • The command for training baler is presently poetry run python baler --project CFD_workspace CFD_project_animation --mode train
  • Relative Imports Error is thrown while running this command

Fix

  • Using the -m flag fixes the issue.
  • poetry run python -m baler --project CFD_workspace CFD_project_animation --mode train

Screenshot of the error taken on my Linux machine
Screenshot from 2023-07-05 11-19-01

Screenshot of the error taken on my M1 MacBook Air
Screenshot 2023-07-05 at 11 41 34 AM

@fritjof-b
Copy link
Contributor

Hi Manas, thank you. This is however already merged (just now) from this PR.

As a note, please make sure to change every command (you only changed the training of the docs -- this way we reduce the number of PRs.

@fritjof-b fritjof-b closed this Jul 6, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants