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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bugfix: Add pip [fairscale, scipy, yapf] #123

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

Hitbee-dev
Copy link

ISSUE

When building the Dockerfile from the repository and proceeding with training according to the "Train Co-Deformable-DETR + ResNet-50" Guide, an error occurs stating that three Python packages are not installed.

Below are the logs of the errors that occurred.

1. fairscale not pip install

ERROR MSG:

    import fairscale
ModuleNotFoundError: No module named 'fairscale'

2. scipy not pip install

ERROR MSG:

    raise ImportError('Please run "pip install scipy" '
ImportError: Please run "pip install scipy" to install scipy first.

3. yapf not pip install

ERROR MSG:

    text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'

Therefore, I have added the necessary Python packages to the Dockerfile.
Now, you can proceed with the training immediately after building the Dockerfile.

@TempleX98 TempleX98 merged commit 928f6c1 into Sense-X:main Apr 22, 2024
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

3 participants