Categories
Misc

How to retrofit an existing TF setup to use an onboard GPU?

Hi all,

I’ve got a Lenovo Legion laptop with an onboard GeForce GTX 1660 GPU. Here’s some setup details:

– Ubuntu 21.10

– Python 3.9.7

– using pip (not Conda)

– Tensorflow 2.7.0 (from Python: “tf.__version__” returns 2.7.0)

– TF doesn’t yet recognize GPU existence: “tf.config.list_physical_devices(‘GPU’) returns []

– I think I have CUDA installed: (cat /proc/driver/nvidia/version):

NVRM version: NVIDIA UNIX x86_64 Kernel Module 495.29.05 Thu Sep 30 16:00:29 UTC 2021

GCC version: gcc version 11.2.0 (Ubuntu 11.2.0-7ubuntu2)

I’m doing a TensorFlow tutorial (with PyTorch to come) & have reached a point where I need the GPU. How can I get TF to recognize it?

Before you ask: yes, I *could* download a Docker container or use Colab. I’m going this route because it seems dumb to have a GPU at my fingertips and not use it.

Thanks all & HNY…

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

Categories
Misc

Advent of Code 2021 in pure TensorFlow – day 9. Image gradients, 4-neighborhood, and flood fill algorithms in pure TensorFlow.

Advent of Code 2021 in pure TensorFlow - day 9. Image gradients, 4-neighborhood, and flood fill algorithms in pure TensorFlow. submitted by /u/pgaleone
[visit reddit] [comments]
Categories
Misc

Advent of Code 2021 in pure TensorFlow – day 8

Advent of Code 2021 in pure TensorFlow - day 8 submitted by /u/pgaleone
[visit reddit] [comments]
Categories
Misc

Someone please help

I’ve been trying to install tensorflow on vscode for 2 hours now and no matter what I do It wont do it. If someone knows how to do so can they dm me and help.

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

Categories
Misc

5 Ways AI Aimed to Improve the World in 2021

Not so long ago, searching for information could lead to a library to scan endless volumes or even tediously sift through microfilm. Clearly, technology is making the world a better place. Scientists, researchers, developers and companies have been on a quest to solve some of the world’s most pressing problems. Only now they’re accelerating their Read article >

The post 5 Ways AI Aimed to Improve the World in 2021 appeared first on The Official NVIDIA Blog.

Categories
Misc

Time Distributed Dense Layer

Time Distributed Dense Layer

I need to create the model on the image attached. However, I could not achieve creating a time distributed dense layer. I got a measure of errors and at the end, I always got ‘please initialize your layer with tf.keras.layers.Layer. How can I achieve this? Can you please help me?

https://preview.redd.it/lidtmo8tku881.png?width=1055&format=png&auto=webp&s=7c39d06fa104acdc6f91a2f87c99725573b2d130

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

Categories
Misc

Predictions using Tensorflow

hello everyone, I am new to Tensorflow and I try to find a tutorial or something that helps to create new data. My thought was to take the data I got (data of my university from the past 30 years) and look how the AI thinks the university will look like in the next 30 year’s ( so 2052). My main problem is that all the tutorials I did allways say it’s predicting, but actually it’s not exactly what I want. Most tutorial predictions show how accurate an AI can predict data to already existing data. But the thing I want is to create new data, so that I can compare the data my AI created with the data when they get measured. As example the number of students from 1992 till 2021 are already known, but I want the AI to tell me what it calculated fur the years 2022 to 2052. The AI already reads the data and is also pretty accurate, but I’m kinda lost creating the new values. Sorry if I messed up explaining myself but I really hope someone can help me here.

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

Categories
Misc

How does tf.estimator.LinearClassifier calculate the y value to be plotted on feature space?

I’ve come across this article and on page 5, it says:

General input/output for SVMs just like for neural nets, but for one important addition… Input: set of (input, output) training pair samples; call the input sample features x1, x2…xn, and the output result y. Typically, there can be lots of input features xi. Output: set of weights w (or wi), one for each feature, whose linear combination predicts the value of y. (So far, just like neural nets…)

It mentions that the y value is calculated through the LC of the weights? Does this mean that x_i • w_i would give me the y value for x_i ∈ X ? If so, how can i calculate the weights w?

If possible, could someone ELI5 this formula on pg 8 for me:

w•xi+b ≥ +1 when yi =+1 w•xi+b ≤ -1 when yi = –1

Thanks

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

Categories
Misc

Innovation Inspiration: 5 Startup Stories From NVIDIA Inception in 2021

NVIDIA Inception is one of the largest startup ecosystems in the world — and its thousands of members achieved impressive feats in 2021, bringing AI and data science to an array of industries. NVIDIA Inception nurtures cutting-edge AI, data science and HPC startups with go-to-market support, expertise and technology. This year, the program surpassed 9,000 Read article >

The post Innovation Inspiration: 5 Startup Stories From NVIDIA Inception in 2021 appeared first on The Official NVIDIA Blog.

Categories
Misc

GFN Thursday Says ‘GGs’ to 2021 With Our Community’s Top Titles of the Year

It’s the final countdown for what’s been a big year for cloud gaming. For the last GFN Thursday of the year, we’re taking a look at some of the GeForce NOW community’s top picks of games that joined the GeForce NOW library in 2021. Plus, check out the last batch of games coming to the Read article >

The post GFN Thursday Says ‘GGs’ to 2021 With Our Community’s Top Titles of the Year appeared first on The Official NVIDIA Blog.