Category "google-colaboratory"

not able to install dask on google colab

I use pip method to install on google lab. But I am not sure why it is not working. Here is what I got code pip install "dask[dataframe]" --upgrade error Requi

model training got stuck after first epoch got completed...2nd epoch won't even start and not throwing any error too it justs stay idle

screenshot showing the model training stuck at epoch 1 without throwing error I am using google colab pro and here is my code snippet batch_size = 32 img_heigh

Reading from my pc microphone in colab to SpeechRecognition library to be recognized?

"OSError: No Default Input Device Available" on Google Colab from the above link, I get the record() function and it is great for reading audio in binary form,

How do I replicate a Google Colab environment onto a GCloud instance?

Ok - total noob on the topic here so this might not even be a good idea. I have a Google Colab notebook I use for generating images from a textual prompt, where

how to open a jupyter notebook under a folder in google drive?

I am trying to open a existing jupyter notebook from a folder in google drive. In colab, I do: File-> open notbook-> google drive Only jupyter notebook fi

how to install octave packages on google colab?

I need to run some matlab code on google colab that needs 'image' package. I tried pkg install -forge image but that through an error. please help!

Google colab Glove_Python pip install not working

I am using ! pip install glove_python I'm getting this error message: Collecting glove_python Downloading https://files.pythonhosted.org/packages/3e/79/7e7e5

Problem in changing directory with a path variable in google colab

I want to change directory in google colab. a = 'drive/MyDrive/COLAB/colab_common_utilities' Following works: # method 1: import os os.chdir('drive/MyDrive/COLA

Google Colab: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a v

Is there a way to directly upload a video from youtube into colab?

I'm working on a lane detection project and I need to load the lane video into my colab for processing from youtube. Can i directly upload using the video's lin

Flattening Directory tree in Google Colab

I have a tree of directories like this User-1 Raw --Scan1.img --Scan2.img User-2 RAW --Scan1.img --Scan2.img Etc How would I go about flattening the directo

TypeError('Keyword argument not understood:', 'groups') in keras.models load_model

After training a model using Google Colab, I downloaded it using the following command (inside Google Colab): model.save('model.h5') from google.colab import fi

import pyzbar.pyzbar - Unable to find zbar shared library

I want to make a script for detecting and reading QR codes from photos. I would like to use PyZbar for that, but I have a problem with some errors. I'm working

FileNotFoundError: [Errno 2] No such file or directory: 'Data.csv'

I'm having an error with the above, I am in no rush and ready to learn, I have some basic coding experience with javascript, but I am still learning so a simple

Semantic segmentation with detectron2

I used Detectron2 to train a custom model with Instance Segmentation and worked well. There are several Tutorials on google colab with Detectron2 using Instance

How to collapse the code section in Google Colab Notebook but keeping the results shown?

As you can read on the title, I'm currently trying to make the code section collapsing without collapsing also the results section. For example without the coll

Is running Selenium on Google Colab possible?

I'm having difficulty working with Selenium directly from Google Colab. Whenever I run the code below on my local machine I get success, however I would like to

Google collab pip doesn't get recent package version

I'm using Goggle colab to test code that I maintain in PyPI. However, the runtime environment does not recognize the existence of recent versions of my package.

File exists but Colab says no such file found

I mounted the files from google drive correctly with the following code. from google.colab import drive drive.mount('/content/gdrive') base_path = "/content/gdr

Having Issues Loading the CelebA dataset on Google Colab Using Pytorch

I need to load the CelebA dataset for a Python (Pytorch) implementation of the following paper: https://arxiv.org/pdf/1908.10578.pdf The original code for loadi