Questions tagged [google-colaboratory]

Google Colaboratory is a research tool for machine learning education and research.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

helpp, i have a problem with google colab

I have a problem, i want to use the camera and make a face recognition but idk how to conect both, the proyect is in google colab and i use javescript to use the camera i want that the camera and the ...
Odeth Alvear's user avatar
0 votes
0 answers
19 views

Error when install Coqui TTS in Google Colab

when I use: !pip install TTS in google colab, to install Coqui TTS This is my link colab: https://colab.research.google.com/drive/1P9LFK-Icjk5sc3gQvPCw0IaMA4FwwsHz?usp=sharing I see, version of ...
John's user avatar
  • 1
-1 votes
1 answer
37 views

Why does this python code errors in Google Colab and works on Jupyter NB?

Said code: def max_displacement(): daily_climb = [30, 21, 33, 77, 44, 45, 23, 45, 12, 34, 55] displacement_lst = [] for x in daily_climb: if x > 20: diff = (x - ...
Capybara69's user avatar
0 votes
0 answers
10 views

Train LSTM models with particle swarm optimization in parallel on Google Colab

I construct an LSTM model and want to optimize the hyperparameters using particle swarm optimization. Since I am not familiar with parallel computation, I hope the computation could be economical in ...
蘇泳誌's user avatar
0 votes
1 answer
28 views

Getting DeprecationError with camelot.read_pdf() [duplicate]

I'm trying to run camelot-py in colab but I am getting an error (below). It was working perfectly yesterday so I don't know what could be causing this. DeprecationError: PdfFileReader is deprecated ...
noor.soreti's user avatar
2 votes
1 answer
9 views

Having trouble inporting files via download link into google colab in order to train an A.I

Files are not downloading into the colab when i use my own download link. i cant figure out why its not working. I also went looking on different webistes about how to manage files in colab but ...
Wallah Billah's user avatar
0 votes
0 answers
5 views

Create a moving 30 year climatology varying from 5 to 5 years

I need to create this climatology with this data on the site: https://www.cpc.ncep.noaa.gov/products/analysis_monitoring/ensostuff/detrend.nino34.ascii.txt However, I don't know how to do what I want ...
Beatriz Ferraz's user avatar
0 votes
1 answer
18 views

Google Colab Execution Bug

I've been using google colab to code in python for 2 months and everything was going well until last night. When I execute a code in python, which worked very well the previous days, it works during ...
LLH's user avatar
  • 1
-2 votes
0 answers
11 views

Choropleth Map in Python for Bogota [closed]

I am starting with Python and I am trying to create a map of Bogotá with its administrative divisions named 'Localidades'. I have a dataframe named datos_df and it has de names of administrative ...
Melissa Ruiz's user avatar
-1 votes
1 answer
18 views

download kaggle notebook along with the printed logs

I ran some machine-learning notebooks on Kaggle. I created multiple versions in the same notebook. I have also put logs of the results and other important things. Now I tried to download a specific ...
binga58's user avatar
  • 137
0 votes
0 answers
29 views

I'm trying to use Rshiny app in google colab it is not working

I want use Rshiny in google colab, I got the following output "Listening on http://127.0.0.1:3520" But I can't able to use access the above link. install.packages("shiny") install....
vinoth kumar's user avatar
-1 votes
0 answers
9 views

Why is there an error in 'get_front_face_detector'?

I used the 'get_frontal_face_detector()' method in the dlib package in Google-colaboratory. But, src = cv2.imread (f'/content/drive/MyDrive/Selenium/img{i}.jpg') or src = cv.Imread(save_path) is not ...
헤이즐넛's user avatar
0 votes
0 answers
13 views

Can't Increase Java Heap Space Google Colab

I am running a scala program in Google Colab, however I am running into the java.lang.outofmemoryerror: java heap space error. What I have tried, is to go into $ sudo vim /etc/profile and increase it ...
Master Irfan Elahee's user avatar
0 votes
0 answers
8 views

How to set batch size in Google Colab notebook according to allocated node specs

It is related to this question. @Vladimir Sotnikov 's answer gave insctruction to get the config information of the allocated colab node. He also showed how to get such information with pytorch and ...
jerron's user avatar
  • 301
0 votes
0 answers
12 views

After activating conda virtual env in colab, no changes are being made

I am trying to create a miniconda virtual env in colab, but after activating it there are not changes in python latest version and once I run ! conda info --envs it is not indicating (with the ...
enriquegv001's user avatar
0 votes
0 answers
11 views

Training with SSD Mobilenetv2 with roboflow 2023 environment errors

So I'm using the google colab notebook for training ssd mobilenetv2 models. The colab notebook in question is: https://colab.research.google.com/drive/1wTMIrJhYsQdq_u7ROOkf0Lu_fsX5Mu8a?ref=blog....
Harrison K.M's user avatar
0 votes
0 answers
21 views

Changing text cell background color in google colab

I tried to change background for some parts of text cells of my jupyter notebooks to make it more stylish as they are shared as documents on google colab. However, I could not get it done by adding ...
Ming Chen's user avatar
0 votes
0 answers
19 views

Connecting to a Docker container redis-stack from Google Colab

I have a Redis database running in a Docker container. I would like to access its data from a Google Colab notebook using Python. On my local machine I can access the database on port 10001 with no ...
maahlouontheroad's user avatar
0 votes
0 answers
6 views

In Colab there is a new Buildozer.spec and nothing seeems to work anylonger

recently in Colab site the file Buildozer.spec has changed and I'm am not able to obtain apks anymore from Python-Kivy codes. In order to generate the Buildozer.spec I'm still using the same Deploy ...
Luigi Pianese's user avatar
0 votes
0 answers
14 views

Excel file values change when imported to google colab using pandas [duplicate]

My excel file values change for the specific column :- "CUSIP" when I import it to my google colab using pandas. The rows also are not same as the excel file and they interchange. I am not ...
abishek ram's user avatar
0 votes
0 answers
26 views

Downgrading Python version in Google Collab from v=3.10 to v=3.9

Currently I am trying to downgrade the python version in Google Colab to run TensorFlow Quantum library for a research project. I have tried to follow How can I update Google Colab's Python ...
Mason Chester's user avatar
0 votes
0 answers
14 views

Tensorflow 2.0 - Training model issues

I am currently learning how to train a model object detection using google colab and tensorflow 2.0 based on this website link Link During training the model process we received this output in the ...
fun learning's user avatar
0 votes
0 answers
10 views

Colab VM requested does not exist, despite status claiming it is running and available

I've been having trouble with setting up a Colab VM via Google Compute Engine, despite being able to access it flawlessly earlier. I have tried starting and stopping the VM, as well as deploying a ...
Ellis's user avatar
  • 1
0 votes
0 answers
11 views

How To Install Python Scatterer T-matrix module on Colab?

How do I install the module for the t-matrix scatterer on google colab woking with window OS? Module Not found error After running the line: import pytmatrix See Error below: ModuleNotFoundError: No ...
Dub's user avatar
  • 13
0 votes
0 answers
10 views

Camera access for real time video

Im working on google colab and when i want to use my laptop camera for a real time video its not working I gave it the permision to reach and still failed to captuer?? I want to apply real time video ...
Master RA's user avatar
0 votes
0 answers
13 views

why google colab dont run all of codes related to mmflow toolbox?

hi i have tried python codes related to optical flow algorithms using MMFlow toolbox in google colab. i have 50 images frames that extracted from river flow video.i use pwc-net deep learning model. my ...
hosein's user avatar
  • 127
0 votes
1 answer
65 views

How to fix ChromeDriver SessionNotCreatedException in Google Colab?

I was asked to use a python web scraping script that was created in Google Colab, but I'm getting the following error: SessionNotCreatedException: Message: session not created: This version of ...
Jonathan Cakes's user avatar
-1 votes
0 answers
6 views

why is show me NaN in all dataframe

why is show me NaN in all dataframe when i add index stud = pd.DataFrame({'Name':pd.Series(['Saleh','Basher','Mohammed','Ali']), 'Mark':pd.Series([100,95,85,74])},index=['stu 1','stu 2','stu 3','stu 4'...
حسين ناجي's user avatar
0 votes
0 answers
25 views

Install tensorrt on google colab

I am trying to install tensorrt on my google collab notebook, i chose the GPU runtime type and ran the following command: import os import torch when i run torch.cuda.is_available() it return "...
alksdhalksjdb's user avatar
0 votes
0 answers
10 views

How to set LIBGL_ALWAYS_SOFTWARE=1 for Godot on google colab

I have a google colab notebook with the following code, where I am trying to use the avalon benchmark (https://github.com/Avalon-Benchmark/avalon): !git clone https://github.com/Avalon-Benchmark/...
blindeyes's user avatar
  • 407
0 votes
1 answer
39 views

trying to use argparse in google colab, error: the following arguments are required

hi i tried codes for extracting optical flow from images frames(stored in google drive) using pwc-net algorithm in google colab as below: from mmcv.utils import config # Copyright (c) OpenMMLab. All ...
hosein's user avatar
  • 127
0 votes
0 answers
127 views

Google Colab TensorFlow 'DistributedDatasetInterface' Error

Found a solution. Uninstalled the lastest version of tensorflow and reverted to a previous model # Uninstall the current version of TensorFlow. !pip uninstall tensorflow -2.13.0 # Install TensorFlow ...
Lincoln Simms's user avatar
0 votes
1 answer
48 views

Multiple time-series Forecasting

I'm trying to make a forecast for multiple time-series, for this purpose I have a Prophet function to make a prediction on a certain date in future. When I try using multiprocessing it shows me this: ...
Александр Лепендин's user avatar
0 votes
0 answers
28 views

Error while invoking Sagemaker Model : Token indices sequence length is longer than the specified maximum sequence length for this model Error

I am trying to connect to Laama2 Model hosted in AWS sagemaker. For some of the basic things it work ok. However when I am using Retrieval Augmenter retrieval and passing the relevant document to get ...
Sage TJ's user avatar
0 votes
1 answer
13 views

Why is my session always crashed after intall conda in Google Colab

I am trying to setup and run Conda on Google Colab. However, everytime I run the following code to install conda !pip install -q condacolab import condacolab condacolab.install() My session would ...
Gillian's user avatar
  • 49
0 votes
0 answers
15 views

How to resolve "reportMissingImports" warning in a Colab notebook

I am trying to load a notebook into another notebook in the Google Colab environment, and while the function is working (simple adding of numbers), there is still a warning: Import "demo_function&...
Gijs van den Dool's user avatar
0 votes
0 answers
19 views

Plot several vertical lines with different x values per faceted graph in Altair

I'm running into an issue with plotting vertical lines on top of other Altair's marked lines (represented by 'posterior' and 'prior' here) where the prior and posterior lines become swiveled after ...
Valerie's user avatar
0 votes
0 answers
6 views

i have KeyError: <class '__main__.Diagnosa'>, from using experta library

from random import choice from experta import * class Gejala(Fact): pass class Diagnosa(Fact): pass class DiagnosaKesehatan(KnowledgeEngine): @DefFacts() def initial_facts(self): ...
sans's user avatar
  • 1
-4 votes
1 answer
126 views

Recaptcha Solver Audio selection issue

I have this captcha solving script, it always worked perfectly until yesterday: def solve_captcha(driver): WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.TAG_NAME, "iframe&...
Ali Jand's user avatar
-2 votes
1 answer
39 views

Unable to connect to remote Microsoft SQL Server from Google Colab due to SQL driver not found error

I have SQL Server 2019 installed on a server machine, that hosts a database named 'MyDB'. On my PC I'm trying to connect to that database from Google Colab. Initially I was using the following code ...
Sir Arthur7's user avatar
0 votes
0 answers
35 views

error when pip install google-colab --use-pep517

i got this error: Collecting pandas~=0.24.0 (from google-colab) Using cached pandas-0.24.2.tar.gz (11.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done ...
StudyOnly's user avatar
0 votes
0 answers
25 views

Cannot install google colab using pip install google-colab

error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [15 lines of output] C:\Users\Himanshu Pant\AppData\Local\Temp\pip-install-...
Himurocks8's user avatar
0 votes
0 answers
18 views

How can I solve my problem with Binance Python package?

I want to run following code in Google colab but my code falls in a loop and back an error: RuntimeError: This event loop is already running import time from binance import ThreadedWebsocketManager ...
kobi's user avatar
  • 13
0 votes
0 answers
53 views

How to run docker on google colab

I tried installing docker on google colab using the following commands I found in another question: %%shell sudo apt update -qq sudo apt install apt-transport-https ca-certificates curl ...
blindeyes's user avatar
  • 407
0 votes
0 answers
12 views

Output truncation in colab

Here is my code: model_name_or_path = "juanjgit/orca_mini_3B-GGUF" model_basename = "orca-mini-3b.q4_0.gguf" model_path = hf_hub_download(repo_id=model_name_or_path, filename=...
Mahima Yadav's user avatar
0 votes
0 answers
15 views

ContextualVersionConflict for ctgansyntesizer (incopatible urllib3 version)

So I'm working with sdv library on google collab for produsing synthetic data. When I use ctgan synthesizer I have this error: "ContextualVersionConflict: (urllib3 2.0.4 (/usr/local/lib/python3....
Harris Tsokas's user avatar
0 votes
0 answers
11 views

i was working on a code i.e spliting the pdf using keywords such that each pdf should start with keyword and ends with empty page

import os import re import fitz # PyMuPDF import spacy Load a spaCy language model (you can choose a different one if needed) nlp = spacy.load("en_core_web_sm") Define your PDF file name ...
RajTushar's user avatar
-1 votes
0 answers
63 views

how to install tensorflow(2.4.0) version in Colab(google-colaboratory)?

colab first i did install python 3.7.0 !tar xvfz Python-3.7.0.tgz !Python-3.7.0/configure !make !sudo make install and i checked python and tensorflow version. python==3.7.0 keras==2.4.0 ...
Kim Young Jun's user avatar
0 votes
0 answers
5 views

No Authorization to access your own files from your own notebook

I wonder if there's any possibility that we could "shortcut" the Google Drive mounting security question workflow (you have to switch context twice, and scroll), if, and only if, the Google ...
user3735204's user avatar
0 votes
1 answer
19 views

How to get a progess bar for gensim.models.FastText.train()?

I have the following code to train a FastText embedding model. embed_model = FastText(vector_size=meta_hyper['vector_size'], window=meta_hyper['window'], ...
The-One-Who-Speaks-And-Depicts's user avatar

1
2 3 4 5
155