Category "google-colaboratory"

How can i do many things to configure data with keras

I am a beginner learning deep learning by Keras. The ImageDataGenerator class in Keras and the flow_from_directory function made it easy to label images. But al

Python NSFW detection module nudenet not longer working?

I have been using the python module nudenet for my final degree project. I'm using google colab to run it. It worked correctly and without any problem during th

Live normalized stacked area chart in Google Colab

I am training a neural network for binary classification on Google Colab. Each epoch, I evaluate it on the validation dataset and calculate the percentages of t

torch.manual_seed(seed) get RuntimeError: CUDA error: device-side assert triggered

I am using GOOGLE COLAB when I get this error. Here is my code, I didn't find anything wrong, these code were right few hour ago but suddenly went wrong, I don'

Object Detection Google Colab: AttributeError: module 'tensorflow' has no attribute 'contrib'

I've been working on codes for Object Detection in Google Colab as in 1 and in 2 but, when using the following code sample: !git clone --quiet https://github.co

TypeError: 'type' object is not subscriptable when importing tensorflow_federated as tff

I'm working in colab notebook, and the importing of tff (import tensorflow_federated as tff) was working for months, but suddenly, now when I try to import tff

How to convert movies in mkv to mp4 in colab

I tried converting a mkv movie in my Google drive to mp4 so I can stream play it with Google drive player, so I used a popular ffmpeg colab note book and I got

Is it possible to run a Google App Script from Google Colab?

I have a Google Colab Workbook that does some scrapping and saves the scrapped files in my Google Drive and I also have a Google App Script that manipulates the

Running Neptune in Jupyter Notebook gives NameError that Neptune is not defined

# Create run in project (Neptune) run = neptune.init(project='ssraghuvanshi1989/GCI-01-Lung-CT-Segmentation-20220506') NameError Traceback (

How to convert XML Files into Text files (YOLOV3 Format) for object detection

How we convert XML annotation folder into text or YOLOv3 Format for detection??? I used this code for conversion but it only take one xml image and convert into

connecting to a different google drive than the one logged into google colab

recently colab removed the ability to connect to google drive from different accounts other than the one you were logged into in google drive. There was a worka

How can I update Google Colab's Python version?

The current default version of Python running on Google Colab is 3.7, but I need 3.9 for my notebooks to work. How can I update Google Colab's Python version to

Google colab: Read .xlsx file in from Github pandas

from Google Colab, I am trying to create a df from a xlsx file I have on a Github repo. As url I take the permalink from Github, the repo is public and account

Running out of memory on Google Colab

I'm trying to run a demo of TF Object Detection model with Faster RCNN on Google Colab Pro GPU (RAM: 25GB, Disk: 147GB), but it fails and gives me the following

Importing cantera (package) in google colab not working

I am not able to solve the following problem: For my research I would like to use a Google Colab notebook to perform my data analysis. To this end I need a pack

Python code to connect to MySQL database doesn't work on Google Colab

I wrote the code bellow. It works on a .py file on my computer but not while running on Google Colab) import mysql import mysql.connector as msql from mysql.con

Automatically check available GPU on Google Colab

Is there an automatic way to check which GPU is currently available on Google Colab (Pro). Say I would like to use a Tesla P100 instead of the Tesla T4 to train

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,