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

Multiple GPU support with pytorch backend #817

Open
alexpavlidespyrra opened this issue Jun 8, 2023 · 1 comment
Open

Multiple GPU support with pytorch backend #817

alexpavlidespyrra opened this issue Jun 8, 2023 · 1 comment

Comments

@alexpavlidespyrra
Copy link

It seems you have implemented multiple gpus for tensorflow backend:

from imageai.Detection.Custom import DetectionModelTrainer
trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3()
trainer.setDataDirectory(data_directory="/content/gdrive/MyDrive/ai-training/test")
trainer.setGpuUsage(1)
trainer.setTrainConfig(object_names_array=["Item 1", "Sample 2"], batch_size=4, num_experiments=200)
trainer.trainModel()

However, this has not yet been implemented for the pytorch backend. Is this something you intend to add in future?

Thank you!

@OlafenwaMoses
Copy link
Owner

Added to to list of to do in next update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants