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

Edited docker_test.py file #329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jvarshini99
Copy link

Edited the file name.

@jvarshini99 jvarshini99 closed this May 4, 2024
@jvarshini99 jvarshini99 reopened this May 4, 2024
@jvarshini99
Copy link
Author

Edited the model file name.

@anas-zafar
Copy link

@jvarshini99 could you please share instructions how to run it in docker? Thanks

@jvarshini99
Copy link
Author

@anas-zafar Sure! the same dockerfile with the file path typo fixed can be used:

  1. Build the image using : docker build -t <image_name> .
  2. Create and run container using --gpus flag : docker run --gpus all -t <image_name>
    This should start the container with gpu enabled. Since adding the gpu flag was needed for GroundingDino.
    The model will be loaded and torch.cuda.is_available() will return True.

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