Category "google-colaboratory"

Cannot compile nms_cuda in mmdetection using colaboratory

/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const {

How can I use Python 2 on Google Colab?

How can I use the earlier version of Python i.e version 2.x? Under the 'change runtime' option - I can see the option for selecting hardware accelerator.

I'm Getting Ngrok Error 6022 after doing everything properly

You can refer to my images for details. This is the code I'm running on colab: from google.colab import drive drive.mount('/content/drive') cd /content/drive/M

CNN In Google Colab

I have a CNN project, I want to upload images dataset from my local files, How can I do that? and is there an esier way to import dataset to google colab (e.g.

How to run a Python script in a '.py' file from a Google Colab notebook?

%%javascript IPython.OutputArea.prototype._should_scroll = function(lines) { return false; } %run rl_base.py I run this giving error saying rl_base.py fi

Where to find the existing package installed in the google Colab

I want to check if some packages are installed in the Colab. What is specific folder for storing the installed packages (e.g., keras)?

for printing image the following error is hapening

CODE import numpy as np import cv2 from google.colab.patches import cv2_imshow img=cv2.imread('/gdrive/My Drive/Colab Notebooks/merlin_190860876_3e2e2660-237f-4

Colab Pro: using GPU crashes the session

I have a Google Colab subscription to use its GPU and to fasten the training of my model. When I ran the code it works for some blocks and then it stops and say

Google colab : How can i mount two google drive accounts?

I have two google accounts each one contains part of my data and i can,t include the data into one drive because of the size limit. So, I want to know if there

how to plot input and output shapes on top of each other using polt_model in keras

I want to plot my model using Keras.utils.plot_model function. my problem is that when I plot the model, the input and output shapes do not place on top of each

Access Google Sheets on Google Colaboratory

Hi I am using Google Colaboratory (similar to Jupyter Notebook). Does anyone know how to access data from Google Sheets using Google Colaboratory notebook?

T5Tokenizer requires the SentencePiece library but it was not found in your environment

I am trying to explore T5 this is the code !pip install transformers from transformers import T5Tokenizer, T5ForConditionalGeneration qa_input = """question: Wh

TypeError: Failed to convert elements of SparseTensor to Tensor

TypeError: Failed to convert elements of SparseTensor(indices=Tensor("DeserializeSparse:0", shape=(None, 2), dtype=int64), values=Tensor("DeserializeSparse:1",

Contextual version conflict error, Google colab

I am trying to install and run sunpy on Google colab. It requires a package astropy version 3.1 or higher. Even after installing astropy version 3.2.1 when I im

How to clear GPU memory WITHOUT restarting runtime in Google Colaboratory (Tensorflow)

I want to run hyperparameter tuning for a Neural Style Transfer algorithm which results in having a for-loop in which my model outputs an image generated with d

Getting Error 403 in Google Colab with Tensorboard with Firefox

I have a tfevent file already present on my Drive and I have successfully connected it to Google Colab. After searching within the issues of Tensorboard Github,

Git folder to google colab

I want to download a folder from github (not the entire repo!) into google colab. How can I do this using a google colab cell execution? For files I achieve thi

Trigger Python script located in Google Drive using Google Sheets

I have created a Python script (using Google Colab) and stored it on my Google Drive. When the Python script runs it automatically reads a Google Sheet in the s

Using pyspark in Google Colab

This is my first question here after using a lot of StackOverflow so correct me if I give inaccurate or incomplete info Up until this week I had a colab notebo

Error while installing Spark on Google Colab

I am getting error while installing spark on Google Colab. It says tar: spark-2.2.1-bin-hadoop2.7.tgz: Cannot open: No such file or directory tar: Error