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

Use of GPU on Colab #30

Open
fabiox23 opened this issue May 4, 2023 · 2 comments
Open

Use of GPU on Colab #30

fabiox23 opened this issue May 4, 2023 · 2 comments

Comments

@fabiox23
Copy link

fabiox23 commented May 4, 2023

Hi,

I have tried running the script on Colab following the instructions on the README file and installing the missing dependencies.

It does work but it doesn't seem to use the GPU despite the option being set up.

How can I ensure the GPU is used? Is it something to do with tensorflow? Any advice?

Kind regards.

@shukkkur
Copy link
Member

shukkkur commented May 7, 2023

@fabiox23 Hi!

Have you changed the runtime type to GPU?
image

@fabiox23
Copy link
Author

fabiox23 commented May 7, 2023

Hi,

yes, that's the first thing I did. After running the script, I received a popup message saying the program wasn't using the GPU and asking whether I wanted to switch back to standard runtime. It took about 6 minutes to process a 3 second video so I think it wasn't using the GPU.

Does it need to import a different version of the tensorflow library and, if so, how do you specify that?

Thanks again.

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

2 participants