tensorflow Questions
3
How do you perform cross-validation in a deep neural network? I know that to perform cross validation to will train it on all folds except one and test it on the excluded fold. Then do this for k f...
Disk asked 10/6, 2017 at 16:39
4
Solved
I am pretty new to neural networks. I am training a network in tensorflow, but the number of positive examples is much much less than negative examples in my dataset (it is a medical dataset).
So,...
Humphries asked 17/11, 2018 at 18:20
3
Solved
I want to create a L2 loss function that ignores values (=> pixels) where the label has the value 0. The tensor batch[1] contains the labels while output is a tensor for the net output, both have a...
Nysa asked 29/1, 2018 at 22:3
3
Solved
Currently i think i'm experiencing a systematic offset in a LSTM model, between the predictions and the ground truth values. What's the best approach to continue further from now on?
The model arc...
Connote asked 25/1, 2019 at 15:50
3
I'm using Keras (with TensorFlow back-end) to implement a neural network and want to only save the model that minimises loss on the validation set during training. To do this, I instantiated a Mode...
Doublure asked 18/6, 2020 at 15:54
6
I want to use a GPU inside a Visual Studio Code docker container to train model with TensorFlow. To build an image for my container I use next Dockerfile:
FROM mcr.microsoft.com/vscode/devcontainer...
Electroscope asked 5/5, 2022 at 14:49
2
Solved
Google has made the TENSORFLOW open source for developers..
Is there any way out for using this on android?
The link is here TensorFlow.
I would love to have some directions to work on this API....
Political asked 25/11, 2015 at 17:52
5
System information
OS Platform and Distribution (e.g., Linux Ubuntu 18.04)
Ubuntu 20.04
Python version: 3.6
Installed using virtualenv
CUDA/cuDNN version: 11.5 / 8.1.0.77
GPU model and memory: RTX...
Carafe asked 28/1, 2021 at 8:12
4
Solved
At first it was working fine, then I tried to tweak a few parameters in creating the model, after that,
print(model.history.history)
gives me an empty dictionary.
here is my entire code if it h...
Colotomy asked 10/6, 2020 at 9:9
3
I am now running a Python program using Pytorch. I use my own dataset, not torch.data.dataset. I download data from a pickle file extracted from feature extraction. But the following errors appear:...
Geter asked 2/5, 2020 at 16:10
6
Solved
I have this code on google colab which allows me to optimise an LSTM model using gridsearchCV, but recently an error message has appeared:
ModuleNotFoundError: No module named 'keras.wrappers'.
is ...
Odelia asked 14/9, 2023 at 10:42
1
I am currently trying to build a recommender system for a project using NVIDIA Merlin with Python. As of now I have been trying to install the packages and import them into a python file on my Macb...
Quiles asked 25/1 at 0:44
4
I have run some very basic steps (tensorflow-gpu is currently at 2.12.1):
conda create --name py311_tf212 python=3.11 numpy numba scipy spyder pandas
conda activate py311_tf212
time conda install -...
Actualize asked 29/9, 2023 at 13:33
3
I'm following a tutorial on Youtube for image classification with machine learning. I keep getting the error as shown in the title from trying to save a deep learning module with tensorflow.
I'm us...
Comatose asked 27/2, 2023 at 17:1
5
I'm trying to use Tensorflow with my GPU. My system is Fedora Linux 38, NVIDIA drivers 535.113.01 (currently latest) working as expected on my system.
I created a Python environment with Python 3.9...
Modernistic asked 22/10, 2023 at 0:10
6
Solved
I am following Tensorflow's tutorial on building a simple neural network, and after importing the necessary libraries (tensorflow, keras, numpy & matplotlib) and datasets (fashion_mnist) I ran ...
Hypothecate asked 8/2, 2020 at 19:55
3
when i import TensorFlow GPU I get this error
AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
after i type
imp...
Jun asked 19/2, 2023 at 15:3
6
Solved
I am trying to install transformers using pip
pip install transformers
after import transformers
this error show
Neither PyTorch nor TensorFlow >= 2.0 have been found.Models won't be available ...
Moonset asked 13/10, 2020 at 14:49
3
After upgrading to tensorflow 2.9 I got the following Erro message
when calling model.fit()
with tf 2.8 there were no error.
The fit runs anways but its worrying.
2022-06-21 12:42:58.930086: W tens...
Oleomargarine asked 21/6, 2022 at 12:51
1
Theres not that much information given in the TensorFlow documentation:
https://www.tensorflow.org/api_docs/python/tf/train/Example
https://www.tensorflow.org/api_docs/python/tf/train/SequenceExamp...
Hypochondria asked 20/10, 2017 at 21:28
5
Solved
I am trying to use huber loss in a keras model (writing DQN), but I am getting bad result, I think I am something doing wrong. My is code is below.
model = Sequential()
model.add(Dense(output_dim=...
Canterbury asked 15/12, 2017 at 22:10
10
Solved
So the output of my network is a list of propabilities, which I then round using tf.round() to be either 0 or 1, this is crucial for this project.
I then found out that tf.round isn't differentiab...
Hulky asked 6/10, 2017 at 0:31
3
Solved
Below the code
import numpy as np
np.random.seed(0)
from sklearn import datasets
import matplotlib.pyplot as plt
%matplotlib inline
%config InlineBackend.figure_format ='retina'
from keras.models ...
Tire asked 23/8, 2020 at 2:18
3
I am creating a chatbot trained on Cornell Movie Dialogs Corpus using NMT.
I am basing my code in part from https://github.com/bshao001/ChatLearner and https://github.com/chiphuyen/stanford-tensor...
Boult asked 28/9, 2018 at 21:34
4
Solved
I am trying to install the latest Tensorflow models 2.13.1 (pip install tf-models-official==2.13.1), with Python 3.11. There seems to be an issue with Cython and PyYAML not playing nice together si...
Virgy asked 25/7, 2023 at 8:11
1 Next >
© 2022 - 2024 — McMap. All rights reserved.