All Questions
Tagged with google-colaboratory tensorflow2.0
105
questions
0
votes
0
answers
30
views
Cannot import tensorflow_hub after install tensorflow_text. Cannot use BERT with tensorflow hub
I use pip to install tensorflow_text on google colab. After I finish install, google colab told me I had to restart the session and I did it. After that, I import tensorflow_hub and get this error.
!...
2
votes
0
answers
55
views
Google Colab: GPU not accessible when using different python version
For one third-party library, I need python 3.8. So installed it using these commands,
!sudo apt-get update
!sudo apt install python3.8
!sudo apt install python3-pip
!sudo apt install python3.8-...
0
votes
0
answers
67
views
File not found but I think it's there
I am trying to implement Yolov8 on my custom dataset in TensorFlow. I am working in Google Colab. The data is segregated into training and validation set using the following statement:
num_val = int(...
2
votes
2
answers
367
views
How to solve (dependency) error on Google collab in official example for training own DDSP-VST model?
I am completely new to Colab and I have been trying to get the following example to run in Colab:
https://g.co/magenta/train-ddsp-vst
The execution (of the unchanged notebook from the link above) ...
0
votes
0
answers
28
views
SRCNN with google colab [InvalidArgumentError]
learning_rate = 0.000000001
def init_weights(shape):
return tf.Variable(tf.random.normal(shape, stddev=0.01))
with h5py.File('test_py.h5','r') as hf:
hf_test_data = hf.get('test_input')
...
0
votes
0
answers
43
views
why I am getting the "ValueError: axes don't match array" when trying test the model in tensorflow for Speech emotion Recognition
I am working on SER with model TIMNET. The main coed is here:
authors of the code provided pretrained models and what you have to do is copy and paste the command they provided in the terminal. for ...
1
vote
0
answers
45
views
Tensorflow 2.0 - Training model issues
I am currently learning how to train a model object detection using google colab and tensorflow 2.0 based on this website link Link
During training the model process we received this output in the ...
1
vote
0
answers
33
views
Tensorfolow error when running %%bash cd /content/models/research python -m pip install
I am following a roboflow tutorial named "Roboflow-TensorFlow2-Object-Detection" on google colabs. But when I run
cd /content/models/research
python -m pip install .
I get the following ...
3
votes
1
answer
699
views
Tensorflow Object Detection Api (pip) Installation Error
I'm trying to install the TensorFlow Object Detection API on Google Colab:
!git clone https://github.com/tensorflow/models.git
%cd /content/models/research/
!protoc object_detection/protos/*.proto --...
0
votes
1
answer
900
views
install tensorflow 2.6.0 on google colab
I'm using trying to run this script on google colab :
!pip3 install tensorflow==2.6.0
I get this error :
ERROR: Could not find a version that satisfies the requirement tensorflow==2.6.0 (from ...
0
votes
1
answer
743
views
google colab runtime issue : ERROR: No matching distribution found for tensorflow==2.6.0
I'm trying to set the enviroment for my python notebook on google colab throw exectuing this notebook
!pip3.8 install t5==0.9.0
!pip3 install tensorflow==2.6.0
!pip3 install keras==2.6.0
...
0
votes
1
answer
231
views
Google colab, tensorflow, eager execution does not work
I need to be able to turn a tensor to a numpy array.
This brings me to the issue of eager execution.
I am working in google colab notebook with tensorflow version 2.12.0.
CPU.
In some places I read, ...
0
votes
1
answer
352
views
VAE issue with tensorflow
I am trying to build a VAE using the MNIST dataset.
Error:
--------------------------------------------------------------------------- AttributeError Traceback (most recent ...
0
votes
1
answer
85
views
visualizing training images from training data batch
Visualizing training images from the training data batch
train_images, train_labels = next(train_data.as_numpy_iterator())
show_25_images(train_images, train_labels)
typeError ...
1
vote
1
answer
247
views
How to convert image to 4D Tenzor?
How to convert image to 4D Tenzor (1,150,80,1) [batch_size, width, height, channels] ?
The model on which I train in the manual receives 16 images (16,150,80,1).
https://keras.io/api/layers/...