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

Unable to run pre-trained model in Google Colab free GPU #6

Open
AnanthaNatarajan opened this issue Jul 23, 2020 · 2 comments
Open

Comments

@AnanthaNatarajan
Copy link

I'm trying to make use of the trained model in Colab, but i get the following error during evaluation :

CUDA error at adaptive_gridsampler_kernel.cu:76 code=209(cudaErrorNoKernelImageForDevice) "cudaGetLastError()"

Colab Specs:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
colab error

Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

physical_device_desc: "device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7"

Please let me know the exact specs required to run the trained model

@davertor
Copy link

davertor commented Mar 3, 2021

I have the same issue. Impossible to run inference on colab for me.

@Phylake1337
Copy link

Managed to infer the model on google colab, here's how did I do it..

after the compiling step, you gotta download python file, then you should copy the file into the project file /CAR, This file is a modified version of run.py.

make sure to make a folder that contains all the low-resolution images you need to upscale in png format.

then run this command..

python3 run_LR.py --scale 4 --img_dir path_to_images_folder --model_dir path_to_pretrained_models \
--output_dir path_to_output

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

3 participants