Questions tagged [colab]

Google Colab is an online browser based python notebook/execution environment similar to Jupyter Notebooks.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
866 views

get a can't set attribute while using GPU in google colab but not not while using CPU

Hi i was learning to create a classifier using pytorch in google colab that i learned in Udacity. here is the link so i was loading data in the dataloader and when i used cpu it loaded and displayed ...
  • 351
1 vote
0 answers
103 views

Orange Data Mining Tool on Google Colab

Is it possible to use Orange Data Mining Tool on Google Colab?
  • 11
1 vote
1 answer
87 views

Best way to get data into Colab Notebook

I am working concurrently with multiple very large datasets (10s-100s of GBs)). I signed up for Colab Pro+ thinking it is the best option. However, I face a significant bottleneck in getting data into ...
1 vote
1 answer
1k views

Python: SARIMAX Model Fits too slow

I have a time series data with the date and temperature records of a city. Following are my observations from the time series ...
1 vote
0 answers
79 views

Downloading a large dataset in google colaboratory

I have a link of a dataset, it is 22 gig but in the collab, there is just 32 gig free disk space. The data is in the zip file and after unzipping collab show crash massage. How can I solve this ...
  • 11
1 vote
0 answers
403 views

Using Images uploaded in google drive in Colab

Does anyone know how to use already uploaded images in Google Drive to colaboratory for creating a trainloader? I'm creating the trainloader and model in Pytorch
  • 11
1 vote
2 answers
657 views

What interactive graph package do you use for timeseries data?

I have millions of sensor readings taken over time. I'd like to create an interactive plot in Google colab where I can easily zoom in on sections. I've done something similar with the Plotly package....
1 vote
0 answers
30 views

Google Colaboratory - Won't Start Error

Has anyone else encountered this error? I am teaching a business analytics class with python this semester and Colab has been absolutely fantastic, yet one student is getting the following error. ...
  • 131
0 votes
2 answers
121 views

How to use function from other Colab file?

I’m coming from a math background and learning some data science. I am very new to some details of this stuff. Working with colab, I’m trying to organize my sample simulating functions in such a way ...
  • 1
0 votes
0 answers
6 views

tensorflow dataset 'plant_leaves' cannot be imported to google Colab : DownloadRetryLimitReachedError

I'm trying to upload a tensorflow dataset called plant_leaves but it won't work and it shows a runtime error :
0 votes
0 answers
57 views

Getting error "Failed to find data adapter that can handle input" even after converting list to array

I am getting this error : ValueError: Failed to find data adapter that can handle input' I even changed the list to arrays but still the error keeps pooping up. This is the code: ...
0 votes
0 answers
130 views

ValueError: Shapes (None,) and (None, 3, 3) are incompatible

I am trying to train a neural network to recognize the number of pixels that are turned on in a 3x3 matrix. The "image" is very simple. Each pixel is either on or off. So it doesn't have ...
0 votes
0 answers
59 views

CUDA not available in Colab if checked using a python file

I'm trying to run a model which uses CUDA and the colab notebook I'm using is running on GPU runtime. Now if I call print(torch.cuda.is_available()) from the colab ...
0 votes
0 answers
998 views

How to automatically save images from colab to gdrive in seperate folders whose name are as same as the labels of the respective images?

I have a total of 30k images. They are distributed among 32 classes. I want to save these images from google colab to my drive with folder names as their label name. Can it be possible by python code? ...
  • 121
0 votes
0 answers
16 views

Why does the McCulloch-Pitts Neural net for XOR gate use a hidden layer?

So I am rookie, trying to understand why do we use a hidden layer while making a neural net for the XOR gate? I have tried doing it in code without using the hidden layers like this: ...
0 votes
0 answers
324 views

Google Colab outputs disappears right after is shown

I haven't been able to solve this problem. From a few days ago my colab notebooks outputs are malfunctioning: the outputs appear after the execution of the cell but dissapear inmediately. If I click ...
0 votes
0 answers
116 views

Colab TPU restarting due to protobuf incompatibility

I am trying to train a TemporalFusionTransformer model from pytorch-forecasting on the free ...
  • 11
0 votes
0 answers
340 views

Colab Pro+ notebook stopped being busy when reopened without producing any output

I am training a fairly large dataset on Colab Pro+ with background execution. While the cell is running, the status reads 'busy' and I can check from the Resources tab that the notebook is indeed ...
  • 1
0 votes
0 answers
57 views

Is there any point in using a colab TPU for inference?

I have a colab pro+ subscription and like many, I'm finding that the GPU allowance is rather small compared to the price. While I wait for GPU access I was wondering if the TPU VM would be a ...
0 votes
0 answers
768 views

How to read a table from MySQL work bench in colab

I have referred to various articles on Stack Overflow and external sources but somehow am unable to get answer for this. I would like to read a table from MySQL workbench database into a dataframe in ...
  • 26
0 votes
0 answers
13 views

Label images on-the-fly

I have a code in which it downloads images from Google image according to a query. All those queries are cars (different branch, model and year). Since it is difficult to label each image with a given ...
0 votes
0 answers
74 views

Neural network model in Google Colab significantly slower with increased data points

I've made a neural network in google colab. The original data contained 12 000 rows (csv 350KB). 4 features and 2 labels. Each epoch would run within a few ms. I tried to increase the amount of data ...
  • 103
0 votes
1 answer
99 views

Colab variable inspector stops working after importing from fastbook

As best as I could find, this question was not asked before. I'm using colab, and I use its variable inspector. I'm trying to do the FastAI exercices, and I noticed that when doing them, the variable ...
  • 1
0 votes
1 answer
55 views

How to drop the previous rows of a database based on a matching value in a column?

So I am currently trying to sort through a data frame containing attribute classes and values of teams. However, my data has multiple rows of different classes and values of the same Team ID/Attribute ...
0 votes
0 answers
786 views

Package directory does not exist

I'm trying to install python packages in COLAB using the following setup.py file. ...
0 votes
0 answers
49 views

Automate downloading datasets via Colab

My desktop computer recently broke, and I'm currently working on a small laptop with barely 500mb of space left. I need to download about 100gb of files from the DFAUST dataset. I was wondering if ...
0 votes
1 answer
369 views

Keras: Very high loss for Autoencoder

I am trying to implement an autoencoder for prediction of multiple labels using Keras. This is a snippet: ...
0 votes
0 answers
655 views

why evaluate_generator accuracy too much by using flow_from_directory with shuffle true?

i am using tensorflow and keras on colab i train with shuffled data but i met this strange accuracy with evaluate_generator with my training set that has 95% acc if i did not shuffle my data with ...