7,698 questions
0
votes
0
answers
59
views
Java in Google Colab is not updating?
I am trying to use r5py within a Google Colab environment, and it won't run.
The issue I get specifically with r5py is that it needs Java 65, but Colab only recognizes up to 61:
java.lang....
0
votes
1
answer
55
views
NeMo ASR: ModuleNotFoundError 'ctc_decoders' when changing decoding strategy to Beam Search in Google Colab
I am working with NVIDIA NeMo's ASR collection (QuartzNet model) in Google Colab. I am trying to evaluate the model using CTC Beam Search without a Language Model (setting alpha=0.0).
Even after ...
1
vote
2
answers
79
views
Can I install XrootD in google colab
I am trying to install XRootD in Google Colab, and I have two questions regarding the installation process:
1. Is it even possible to install XRootD in Google Colab?
2. If yes, from where should it be ...
4
votes
1
answer
201
views
printf() not working on colab while running a CUDA c++ code
This is my first time working with CUDA programs. So I just wrote a simple hello world program.
#include <stdio.h>
__global__ void hello(){
printf("Hello block: %u and thread: %u\n"...
0
votes
1
answer
116
views
DiffProtect: How to fix "No module named 'numpy.lib.function_base'" when loading PyTorch Lightning model from 2023 checkpoint in Google Colab?
I'm trying to load a pre-trained PyTorch Lightning model from the DiffProtect repository (published in 2023) in Google Colab, but I'm encountering a numpy compatibility error.
Environment:
Google ...
0
votes
1
answer
70
views
How to use debugger in Colab?
when we use vscode we can debug inside function from where we call function. How to do like that in google colab cloud server? Please help me.
def decorator(func):
def wrapper():
print(&...
0
votes
1
answer
247
views
Can we edit .py files in VSCode and use Google Colab extension to run them on Google servers like Jupyter Notebooks?
I have just get my hands dirty with VSCode's extension Google Colab (by Google).
While I can connect to google servers for running Jupyter Notebooks (.ipynb files), Is there a way to use VSCode ...
0
votes
2
answers
696
views
A problem with Selenium WebDriver Manager using Google Colab
I've been parsing some websites using Selenium webdriver (its Chrome variant in particular) about a month ago and all worked fine (using Google Colab). I'm trying to run the same code now and it doesn'...
3
votes
1
answer
84
views
Tensorflow images guide not working in Google Colab
I'm trying to run the first guide from Tensorflow in Google Colab.
I import the dataset with
import pathlib
dataset_url = "https://storage.googleapis.com/download.tensorflow.org/example_images/...
1
vote
0
answers
142
views
Importing pyannote.audio into collab
Installation of all the packages I'm using into the collab environment worked fine
However whenever I try to run the following code cell
from pyannote.audio.pipelines.speaker_verification import ...
1
vote
1
answer
432
views
Importing torchcodec is crashing colab
Trying to import torchcodec is crashing on GPU T4 runtime on colab.
I was trying to actually train an ASR but then it started crashing, so tried to narrow it down it ended with just two lines, the ...
0
votes
0
answers
79
views
Problem with spconv library on Google Colab
Installed spconv library on Google Colab.
Got following compilation error while importing
[1/42] [GCC][c++/pch]/usr/local/lib/python3.11/dist-packages/cumm/build/core_cc/include/tensorview_bind/...
6
votes
1
answer
751
views
Colab "Unable to connect to the runtime" or 404 error
I recently encountered this problem. When I want to open colab page (https://colab.research.google.com/), it shows me a 404 error.
Sometimes it can load the page. But then it show this error message:
...
-1
votes
1
answer
147
views
How to install a compatible version of TensorFlow Federated on Google Colab (Python 3.12 + TensorFlow 2.19)?
I am using Google Colab, which comes with:
Python 3.12.11
TensorFlow 2.19.0
When I try:
!pip uninstall -y numpy jax jaxlib
!pip install tensorflow_federated
Pip starts backtracking and tries to ...
1
vote
1
answer
2k
views
Encountering an AttibuteError: module 'torch' has no attribute 'xpu'
I'm encountering an error
AttibuteError: module 'torch' has no attribute 'xpu'
when running the diffusers library in a Google Colab environment with a CUDA GPU. I'm trying to use DiffusionPipleline....