Skip to main content

All Questions

Tagged with
0 votes
1 answer
940 views

partially initialized module 'keras.src' has no attribute 'utils' (most likely due to a circular import)

AttributeError: partially initialized module 'keras.src' has no attribute 'utils' (most likely due to a circular import) this are my import files from flask import Flask, render_template, request, ...
Pratik 's user avatar
1 vote
1 answer
370 views

How to run TensorFlow GPU version on Google Colab with Python 2.7?

I have a code written using the TensorFlow version 1.15 for an image to image translation task and I want to run it on Google Colab environment which currently has Python 3.10.12 installed by default. ...
Naser.Sadeghi's user avatar
0 votes
0 answers
73 views

How can I install tensorflow 1.3 with python 2.7 in a virtual environment?

Background: My goal is to reproduce a ML model using tensorflow 1.3 with python 2.7 in a virtual environment. Note,I installed two versions of python (2.2.18 and 3.11.3) and anaconda3 on my MacBook ...
Robayet Chowdhury's user avatar
1 vote
1 answer
597 views

Input 0 of layer "sequential" is incompatible with the layer: expected shape....... found shape=(None, 143)

I am a beginner in machine learning and I am trying to train a model with nltk and tensorflow. But I get the following error when I run my program. I understand the problem. it seems that the shape of ...
Mael Toukap's user avatar
1 vote
1 answer
84 views

GPU not detected by Tensorflow V1

I'm currently using Tf 1.1.0. I tried to list out the available devices by using the following command print(device_lib.list_local_devices()) It displayed only CPU but not GPU. When I ran the same ...
Rangu Nanditha's user avatar
1 vote
1 answer
13k views

I am getting error like "Input 1 of layer "model_5" is incompatible with the layer: expected shape=(None, 224, 224, 3), found shape=(None, 5)

I am trying to fuse features of two image inputs of shape (299, 299, 3), (224, 224, 3) and am getting shape errors. Here is my code from tensorFlow.keras.applications.inception_v3 import ...
Tamilselvi S's user avatar
0 votes
0 answers
96 views

Loading tf Keras trained model produces an error

I'm trying to load a keras model that was trained before, but I'm getting an error that I don't know what it means. Could you please help me. 2022-08-02 15:54:42.335779: W tensorflow/stream_executor/...
Mohamad Halwani's user avatar
1 vote
0 answers
436 views

How to get word embedding from Fasttext model during model training?

Generally while using static word embeddings like Word2Vec, Glove, Fasttext in a model (like this), the vocabulary and embedding matrix are calculated before training the model. And Keras embedding ...
heisenberg's user avatar
1 vote
0 answers
99 views

How to give input to non-keras word embedding model from Keras model during training and get back output?

I am trying to create a model using Keras which gives a input value to another non-keras word embedding model and get embedding of word back into this main keras model. So, the problem is keras model ...
heisenberg's user avatar
-1 votes
1 answer
724 views

How to install Tensorflow==1.X.X for Python2.7 on Ubuntu?

I try to install tensorflow==1.1.0 for Python2.7 with pip package manager but am getting the following error when I run the command pip install tensorflow: DEPRECATION: Python 2.7 reached the end of ...
Fazilet Gokbudak's user avatar
0 votes
1 answer
1k views

Installing tensorflow on virtualbox ubuntu 20.04 python 2.7 - 'Illegal instruction (core dumped)'

my goal is to follow this guide so that I can convert a Caffe model to a Tensorflow model. As my original OS is Windows 10 I am using the virtual Ubuntu 20.04 (using Oracle VirtualBox) with python 2.7 ...
Michael Kročka's user avatar
1 vote
1 answer
957 views

Installing tensorflow 1.14.0 on python2.7 on Ubuntu 20.04

I'm trying to install tensorflow 1.14.0 on my Ubuntu (20.04 LTS) machine. I need the python version 2.7. The cmd line I'm trying to execute is $ sudo python2.7 -m pip install tensorflow==1.14.0 but ...
Antonio Esposito's user avatar
2 votes
1 answer
886 views

How to do string-style split on tf tensor with string values using TF-1.4

I have a tensor(e.g. labels) which read data from external data source. the value of the tensor is a string which has format "label1,label2" (e.g. "0,1"). Now I want to split the ...
dingx's user avatar
  • 1,641
0 votes
1 answer
402 views

Cant run tensorflow on ubuntu 16.04 using python 2.7

I have installed the tensorflow using pip in python 2.7. When I try to test the tensorflow in python, all I get is this message: ubuntu@ubuntu:~$ python Python 2.7.15 |Anaconda, Inc.| (default, May 1 ...
Anto's user avatar
  • 61
1 vote
2 answers
3k views

install tensorflow on python 2.7

I want to install tensorflow on python 2.7 I built environment for python 2.7 on conda(windows 10). but when I try to install tensorflow by "conda install tensorflow", I got a error massage ...
Baegopa's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
46