Category "google-colaboratory"

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

Achieving the equivalent of Google CoLab @param markup in Jupyter without CoLab

Google Colab has some unique embedded markdown features which are not present in Jupyter markdown. For example, this produces a slider: #@title SEIR Model with

Why did Selenium stop working today on Colab?

Screen Shot Link to workbook showing issue:` https://colab.research.google.com/drive/1Zf8YTHRLOL6-ez1SWvzZEVZpkelrG2Kz?usp=sharing !apt-get update !apt install

Kivy/MySQL/colab-google Mysql request does not work

I'm using python/Kivy/MySQL/colab-google to compile an apk. When I run the app on Android, I give the command to register the app shuts down. main.py import k

'str' object has no attribute 'decode' for tensorflow in colab?

I'm a beginner of deeplearning.I copied the code with python3 in colab. Code is from the book called"Book - Practical Deep Learning for Cloud, Mobile & Edge

google.colab.drive is unsupported in this environment

I am using Colab instance that is connected to Google Cloud to train a neural model using NVIDIA A100-SXM4-40GB. I want to load my files from my Google Drive bu

Training Yolact on Google Colab+ without timing out

I want to train Yolact on a custom dataset using Google Colab+. Is it possible to train on Colab+ or does it time out to easily? Thank you!

TypeError: 'ZipFile' object is not callable

I am trying to save the new cropped brain tumor images into the subfolders of TRAIN_CROP, TEST_CROP, and VAL_CROP in the main folder of TRAIN, TEST, and VAL. x

Running the same code yields different results on Colab and on local. No randomization or NN training involved

My code yields different results in the local terminal and on Google Colab. However, if I run the same code on Colab but with a terminal command (i.e. !python t

Flush local disk of Google Colab to Google Drive

I am downloading a 350 GB dataset to Google Drive by setting my current working directory to a folder on Google Drive in Google Colab, and using the curl comman

Error while using mex file in Colab with Octave

I am trying to use MATLAB in Colab. MATLAB is run in Colab through Octave. I have to use the MR8fast() filter, which in turn uses anigauss.c. I could successful