Categories
Misc

Any good tutorials for installing tensorflow for Ampere on Anaconda?

Hey all,

I’ve been trying to get tensorflow to work with my rtx 3080 on anaconda without much success.

Im on windows and currently have toolkit 11.0 runtime libraries and cudnn 8.11 installed, which I use to remove stars in my astronomy images. I’m not sure how to get these to work in anaconda or how to get the other versions to work.

submitted by /u/BattleIron13
[visit reddit] [comments]

Categories
Misc

Installing tensorflow with GPU support for windows 10

I think it’s fair to say Tensorflow with GPU support is a pain to install.

What is currently the recommended / easiest way to install the latest tensorflow for Windows 10?

I successfully installed tensorflow-gpu from Anaconda but the tensorflow version is limited to 2.3.

Additional questions:

  1. What should we use to install the latest versions? (pip / anaconda)

  2. Does anyone have a good step-by-step guide ? I found the tensorflow documentation to be horrible and most of the online guides are outdated

  3. Do we actually need the tensorflow-gpu package from Anaconda? I thought tensorflow-gpu was part of tensorflow since tfv2.

submitted by /u/sweetjoe221
[visit reddit] [comments]

Categories
Misc

Working tensorflow install on Mac M1 Chip

Hey I have spent the last days trying and failing to install an array of differing installation procedures in order to try to get Tensorflow to work on my Mac M1 chip. Does anyone have a confirmed working method as of 02/2022.

Thank you !

Much appreciated for any tips/ links.

submitted by /u/keinblock
[visit reddit] [comments]

Categories
Misc

Channel last to channel first

Tensorflow MaxPooling2D layer takes as input a tensor with the following structure (Batch, Width, Length, Channels), Caffe’s input instead is structured as (Batch, Channels, Width, Length).

I’m working with both frameworks but I would like Caffe to mimics Tensorflow behavior, how can I modify a tensor that produces a specific output on Tensorflow in a way that, when fed to Caffe’s MaxPool, provides the same output?

submitted by /u/sauro97
[visit reddit] [comments]

Categories
Misc

Real-time audio classification using TF – need some code examples

Hello.

I am starting to learn Tensorflow in Python/Jupyter, and I thought I’d create a small ML project for fun that can perform certain actions based on sound events in the room. I’m looking for source code examples in python for real-time sound classification. Most examples I found on google will perform audio classification on existing wav files stored on the hard disk, but I am actually looking for something that can do live audio classification from a microphone. Preferably with minimal latency.

I’d like to see source code for something like this: https://www.youtube.com/watch?v=f6ypnGXMado

Thanks in advance.

submitted by /u/Refractant
[visit reddit] [comments]

Categories
Misc

Image data generator

Hey, so as to my understanding of how IamgeDataGenerator works , is that it choose a random operation and apply it to the image. With this also applies to rescale, std_normalistion and zac_whiteing, with those not be applied to all the images?

submitted by /u/Ali99695
[visit reddit] [comments]

Categories
Misc

Update : 300 Backers! Announcing 4 Stretch Goals! · Deep Learning With TensorFlow & Keras

Update : 300 Backers! Announcing 4 Stretch Goals! · Deep Learning With TensorFlow & Keras submitted by /u/spmallick
[visit reddit] [comments]
Categories
Misc

Custom loss function for tensorflow ML

I am a novice to Tensorflow but have significant experience in the scikit-learn environment. I am trying to shift some codes to the more flexible TF/Keras routines in Python. One modification I would like to do is to build a simple neural network that trains on an earth mover’s distance/Wasserstein distance between arrays representing densities, rather than on direct root-mean-square differences in the densities.

I have been able to modify a loss function, but do not know how to implement the EMD in TF. I use pyEMD to calculate the EMD between two of the arrays in Python, but is doesn’t translate to tensors in TF. It seems like I may have to “unstack” the tensors, evaluate by each row, then “restack” as a tensor. It doesn’t seem reasonable to do it this way, but I am willing to make it work. At this point, I am focused on making it work rather than be as-fast-as-possible.

Does anyone have advice on either a TF-friendly EMD approach or how I may use pyEMD in a custom loss function? I appreciate any and all suggestions.

submitted by /u/baudie
[visit reddit] [comments]

Categories
Misc

Guinness World Record Awarded for Fastest DNA Sequencing — Just 5 Hours

Guinness World Records this week presented a Stanford University-led research team with the first record for fastest DNA sequencing technique — a benchmark set using a workflow sped up by AI and accelerated computing. Achieved in five hours and two minutes, the DNA sequencing record can allow clinicians to take a blood draw from a Read article >

The post Guinness World Record Awarded for Fastest DNA Sequencing — Just 5 Hours appeared first on The Official NVIDIA Blog.

Categories
Misc

What happens when number of neurons in the last layer of the network don’t match the length of labels?

For example I can have the last layer of my network be tf.keras.layers.Dense(10) even if my labels are just single values, so the y is shape (500,)

The last layer outputs 10 values but there is only one label per input vector.

How can this work? Which of the 10 values is compared to the label to calculate the loss? I expected keras to give me an error in this case but it trains just fine and even does well on the toy dataset I’m using.

submitted by /u/woodenlathe
[visit reddit] [comments]