7,686 questions
-1
votes
1
answer
119
views
Why can’t Google Colab kernel (via VS Code) access files from my local machine? [closed]
I was trying to connect Google Colab to my VS Code and I successfully did that but when connected to Colab kernel, I can't read files that are in my local machine. But in local Python environment the ...
3
votes
1
answer
124
views
Pandas IndexError: DataFrame indexer is not allowed for .iloc
I'm trying to plot actual vs predicted values using matplotlib.
Here is my code:
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn....
-1
votes
0
answers
82
views
Is the following problem an issue with Google Colab or an error in the code?
I am trying to follow "Deep Learning in Python" by Francois Chollet.
I have copied and pasted the code at the end of this post from the github page into colab. I am getting a very different, ...
1
vote
2
answers
198
views
CUDA SETUP ERROR: Missing libnvJitLink.so.13
I am trying to load Qwen on google colab.
Concurrently asked this question on github bitsandbytes foundation ->
https://github.com/bitsandbytes-foundation/bitsandbytes/issues/1905#issuecomment-...
0
votes
0
answers
71
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
76
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
88
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
205
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
141
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
89
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
2
answers
369
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 ...
-1
votes
2
answers
1k
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
90
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
153
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
465
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 ...