tensorflow tag

91 questions


1 answers
34 views
0
AttributeError: 'module' object has no attribute' slim'

Hello I am trying nsynth training, but an error occurs.If there is a solution, please let me knowThe environment is Ubuntu 16.04 LTSmagenta-gpu 0.3.12tensorflow-gpu1.11.0 $bazel run//magenta/models/ns...

1 years ago

1 answers
42 views
0
AttributeError: understanding module 'tensorflow' has no attribute 'Session'

Running the following codeAttributeError: module 'tensorflow' has no attribute 'Session' appears.Why is that?import tensorflow as tf  sess=tf.Session()hello=tf.constant('Hello')print(sess.run(hello))

1 years ago

1 answers
88 views
0
Keras using Google Collaboration cannot model.save

I'm learning image recognition through a book called Image Recognition Programming Recipe.When I try to save the model in keras, an error occurs and I cannot save it.I thought the following site might...


1 answers
88 views
0
Resource exhausted:understanding OOM when allocating tensor errors

What do you want to doUse Google colab to learn image data in YOLO-v3.What I've already doneCollect 20 teacher images and resize themAnnotate the collected images with Vott and put them on the colab a...


2 answers
36 views
0
How to perform one-dimensional convolution in Tensorflow

Currently, we are trying to reproduce the following structure on the tensorflow.In Tutorial, the story revolves around two-dimensional convolution, and we don't know how to accurately describe one-dim...

1 years ago

2 answers
38 views
0
I want to calculate the sum of zero or more tensor elements in Tensorflow.

t=tf.constant([1,-1,2,-3], [3,4,-3,2], [2,-1,-2,-3], [2,2,3,1])If there is, I would like to select only the positive value from the elements of t to produce a sum. What should I do?Simply put, I would...

1 years ago

1 answers
87 views
0
I want to use a learning program using keras in Google Collaboration.

I was going to use the program that I'm using as a spider in Google Collaboration, but I got an error.import numpy as npimport tensorflow as tffrom tensorflow.keras.models import Sequentialfrom keras....


2 answers
66 views
0
I want to extract the gradient value of tensorflow.

I am currently learning deep learning and I am using Python tensorflow.As for tensorflow, if you give the loss to the optimizer, it will be optimized on its own, but could you see and take out the val...


1 answers
35 views
0
How to create your own dataset for Tensorflow from the List

Deep learning on Python using Tensorflow I am currently using tf.data.experimental.CsvDataset to load the learning data set from the CSV file.Each CSV file was created before Tenforflow started, but e...

1 years ago

1 answers
37 views
0
AttributeError: About module'tensorflow_core.summary'has no attribute'FileWriter'

Running the following codeAttributeError: module'tensorflow_core.summary'has no attribute'FileWriter'appears.I wonder whyimport tensorflow as tftf.compat.v1.disable_eager_execution()a=tf.constant(10,n...

1 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.