Skip to main content

Questions tagged [colab]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
17k views

Not able to connect to GPU on Google Colab

I'm trying to use tensorflow with a GPU on Google Colab. I followed the steps listed at https://www.tensorflow.org/install/gpu I confirmed that gpu is visible and CUDA is installed with the ...
anirudh's user avatar
  • 143
0 votes
0 answers
666 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 ...
Mohamed Abo AL Kear's user avatar
1 vote
1 answer
135 views

How reproducible should CNN models be? [closed]

I want to train several CNN architectures with Google Colab (GPU), Keras and Tensorflow. Since the trained models are not reproducible due to GPU support, I would like to train the models several ...
Code Now's user avatar
1 vote
1 answer
4k views

keras UserWarning: The input 1303 could not be retrieved. It could be because a worker has died

I am trying to train an autoencoder CNN on Google Colab using keras. I have mounted my Google Drive which contains all training data. The training uses six workers and the data is loaded by the ...
theblackips's user avatar
0 votes
1 answer
4k views

Upload 'tsv' file to Google Colab / Jupyter Notebook

TSV(Tab separated Value) extension file can't be uploaded to google colab using pandas Used this to upload my file ...
Mohseen Mulla's user avatar
4 votes
1 answer
831 views

How to cache GridSearchCV optimizer result in Google Colab?

I have to execute GridSearchCV() cell every time I reload the page and it takes a lot of time. Is there a caching mechanism which stores the GridSearchCV result so ...
Dibakor Barua's user avatar
0 votes
2 answers
86 views

I am getting different mean_absolute_error when i retrain my model everything same

I have set my numpy random seed to 0. I am training on colab and using keras. I didn't change anything. I just re-ran my cell and the val_absolute_error changed. Code: ...
Kumar Shivendu's user avatar
5 votes
3 answers
4k views

Very Fast Training After First Epoch

I trained an InceptionV3 model using plant images. I used Keras library. When training was started, first epoch took 29s per step and then other steps took approximately 530ms per step. So that made ...
tkarahan's user avatar
  • 452
2 votes
1 answer
551 views

How to use Kaggle Api in Google Colab for directly using dataset?

I know that we can use Kaggle's api directly in google colab which downloads the dataset. The commands are : ...
mozilla-firefox's user avatar
1 vote
0 answers
55 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. ...
Btibert3's user avatar
  • 131
2 votes
0 answers
935 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 ...
Amarnath's user avatar
  • 351
4 votes
1 answer
44k views

How to save google colab notebook outputs and variables [closed]

I want to save variables and outputs in text file with colab! Any bright idea?
mj.beyrami's user avatar
1 vote
1 answer
704 views

How to upload a saved file from google colab to a site such as kaggle or github? [closed]

We are able to load a file from a site such as kaggle and git hub to google collab, we apply the below code to download from other sites into google colab: ...
Maryam's user avatar
  • 65
1 vote
0 answers
1k views

Google team drive and google colaboratory uploading/downloading files [closed]

So I have google Team drive set-up with all the permissions. 1. How I can access google team drive in google colaboratory? I think i'm missing something... it's always showing me output of my drive 2. ...
aleheca's user avatar
  • 11
23 votes
6 answers
133k views

Uploading images folder from my system into Google Colab

I want to train a deep learning model on a dataset containing around 3000 images. Since the dataset is huge, I want to use Google colab since it's GPU supported. How do I upload this full image folder ...
chatbot_chakra's user avatar
8 votes
1 answer
41k views

How to download dynamic files created during work on Google Colab?

I have two different files and on the first, I tried to save data to file as: np.save(open(Q1_TRAINING_DATA_FILE, 'wb'), q1_data) On second file, i'm trying to ...
vikbehal's user avatar
  • 185

1
2