Categories
Misc

Nearly 80 Percent of Financial Firms Use AI to Improve Services, Reduce Fraud

From the largest firms trading on Wall Street to banks providing customers with fraud protection to fintechs recommending best-fit products to consumers, AI is driving innovation across the financial services industry. New research from NVIDIA found that 78 percent of financial services professionals state that their company uses accelerated computing to deliver AI-enabled applications through Read article >

The post Nearly 80 Percent of Financial Firms Use AI to Improve Services, Reduce Fraud appeared first on The Official NVIDIA Blog.

Categories
Misc

Let Me Upgrade You: GeForce NOW Adds Resolution Upscaling and More This GFN Thursday

GeForce NOW is taking cloud gaming to new heights. This GFN Thursday delivers an upgraded streaming experience as part of an update that is now available to all members. It includes new resolution upscaling options to make members’ gaming experiences sharper, plus the ability to customize streaming settings in session. The GeForce NOW app is Read article >

The post Let Me Upgrade You: GeForce NOW Adds Resolution Upscaling and More This GFN Thursday appeared first on The Official NVIDIA Blog.

Categories
Misc

What does this error mean and how do I get around it?

I have replicated an architecture from one of the research papers and running it on GPU gives Out Of Memory even on colab (The model is quite deep and huge). So naturally, I want to train it using a TPU.

The same code using GPU doesn’t cause any issue. However it throws this error if I train on TPU:

InvalidArgumentError: 9 root error(s) found. (0) INVALID_ARGUMENT: {{function_node __inference_train_function_56959}} Reshape’s input dynamic dimension is decomposed into multiple output dynamic dimensions, but the constraint is ambiguous and XLA can’t infer the output dimension %reshape.8395 = f32[3,3,2,86,86,32]{5,4,3,2,1,0} reshape(f32[<=18,86,86,32]{3,2,1,0} %convolution.8393), metadata={op_type=”BatchToSpaceND” op_name=”model/conv2d_3/Conv2D/BatchToSpaceND”}.

[[{{node TPUReplicate/_compile/_11021259981217135469/_4}}]]

The colab notebook can be found here:

https://colab.research.google.com/drive/1D-laydrWwLnqAehVREhSkTPoqNXyRGS8?usp=sharing

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

Categories
Misc

HELP! Persisting CUDA error with tensorflow

Hi everyone. I’m trying to make tensorflow use my NVIDIA GTX 1060 gpu in my laptop. I created a python environment and installed tensorflow, python, pip, etc. I am using Ubuntu on Windows (so wsl-ubuntu). On CMD, the nvidia-smi command is showing my GPU. But with tensorflow, I get the following error:

2022-01-26 21:45:36.677191: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected 2022-01-26 21:45:36.678074: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (DESKTOP-P8QAQC0): /proc/driver/nvidia/version does not exist Num GPUs Available: 0 

I have CUDA 11.5 and 11.6 installed, with cudNN 8.3.2.44 installed. I manually copied and pasted the files into the CUDA directory and ran the exe (exe didn’t seem to install files though). I am not sure what else to do. Help would be really appreciated!

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

Categories
Misc

Face trained modal works but detects all faces and the faces it was supposed to detect

Hey all!

I have trained a TensorFlow modal with faces of people I want to detect.

While it detects the people and gives the correct label to the faces, I trained the model to detect. If I point the webcam at a face that I did not train the model with, it gives a label of one of the people I trained the model with.

I’ve tried many things to stop this, but nothing has worked.

I can share all the code and faces I am trying to detect if needed, but is there any way to stop this?

Any advice is greatly appreciated! I’m still learning TensorFlow and while I’m a little better than my pervious posts I’m still learning!

Thanks!

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

Categories
Misc

New on NGC: Security Reports, Latest Containers for PyTorch, TensorFlow, HPC and More

This month the NGC catalog added new containers, model resumes, container security scan reports, and more to help identify and deploy AI software faster.

The NVIDIA NGC catalog is a hub for GPU-optimized deep learning, machine learning, and HPC applications. With highly performant software containers, pretrained models, industry-specific SDKs, and Jupyter Notebooks the content helps simplify and accelerate end-to-end workflows. 

New features, software, and updates to help you streamline your workflow and build your solutions faster on NGC include:

Model resumes

The NGC catalog offers state-of-the-art pretrained models that help you build your custom models faster with just a fraction of the training data.

Now, every model comes with a resume that provides information on model architecture, training parameters, training datasets, performance, and limitations to help you make informed decisions before downloading the model. They also include instructions on how to use the model so you can focus on AI development.

View the demo video and explore models for applications like speech and computer vision in various industries including Retail, Healthcare, Smart Cities, and Manufacturing.

Container security scan reports

All the container images in the NGC catalog are scanned for CVEs, malware, crypto keys, open ports, and more.

Now, the containers come with a security scan report, which provides a security rating of that image, breakdown of CVE severity by package, and links to detailed information on CVEs. 

The scan reports are available on the latest as well as the previous versions of the images and with the entire NGC catalog scanned every 30 days. If you’re using an older version with high or critical severity, the scan report will flag the vulnerabilities and suggest remedies.

View the demo video for more details and explore application containers for deep learning, machine learning, and HPC.

TAO Toolkit

The latest version of the TAO Toolkit is now available for download. The TAO Toolkit, a CLI, and Jupyter notebook-based version of TAO, brings together several new capabilities to help you speed up your model creation process. 

Key highlights include:

Deep learning software

The most popular deep learning frameworks for training and inference are updated monthly. Pull the latest version (v22.01) of:

M-Star CFD

M-Star CFD is a multiphysics modeling package used to simulate fluid flow, heat transfer, species transport, chemical reactions, particle transport, and rigid-body dynamics. 

M-Star CFD contains M-Star Build (to prepare models and specify simulation parameters), M-Star Solve (to run simulations), and M-Star Post (to render and plot data.)

HPC applications

Latest versions of the popular HPC applications are also available in the NGC catalog.

Visit the NGC catalog to see how the GPU-optimized software can help simplify workflows and speedup solution times.

Categories
Misc

tensorflow_datasets … OverflowError? 😭

Hello. Although I have searched online, I don’t understand what’s wrong. Is my laptop not strong enough?? Is it because I am using Anaconda?? I was just trying to follow along with this tutorial: “Tensorflow – Convolutional Neural Networks: Evaluating the Model | Learn | freeCodeCamp.org” 🤷‍♀️

  • 1.) It is installed: Requirement already satisfied: colorama in c:usersglassanaconda3libsite-packages (from tqdm->tensorflow-datasets) (0.4.4)
  • 2.) Reset the kernel & tried to import: import tensorflow_datasets as tfds
  • 3.) The error:
    ~anaconda3libsite-packagestensorflow_datasetsvision_languagewitwit.py in <module>
    23 import tensorflow_datasets.public_api as tfds
    24
    —> 25 csv.field_size_limit(sys.maxsize)
    26
    27 _DESCRIPTION = “””
    OverflowError: Python int too large to convert to C long

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

Categories
Misc

Hatch Me If You Can: Startup’s Sorting Machines Use AI to Protect Healthy Fish Eggs

Fisheries collect millions upon millions of fish eggs, protecting them from predators to increase fish yield and support the propagation of endangered species — but an issue with gathering so many eggs at once is that those infected with parasites can put healthy ones at risk. Jensorter, an Oregon-based startup, has created AI-powered fish egg Read article >

The post Hatch Me If You Can: Startup’s Sorting Machines Use AI to Protect Healthy Fish Eggs appeared first on The Official NVIDIA Blog.

Categories
Misc

EarlyStopping: ‘patience’ count is reset when tuning in Keras

I’m using keras-tuner to perform a hyperparameter optimization of a neural network.

I’m using a Hyperband optimization, and I call the search method as:

import keras_tuner as kt tuner = kt.Hyperband(ann_model, objective=Objective('val_loss', direction="min"), max_epochs=100, factor=2, directory=/path/to/folder, project_name="project_name", seed=0) tuner.search(training_gen(), epochs=50, validation_data=valid_gen(), callbacks=[stop_early], steps_per_epoch=1000, validation_freq=1, validation_steps=100) 

where the EarlyStopping callback is defined as:

stop_early = tf.keras.callbacks.EarlyStopping(monitor='val_loss', min_delta=0.1, mode='min', patience=15) 

Hyperband initially trains many models (each one with a different combination of the hyperparameters previously chosen) for only 2 epochs; then, it discards poor performing models and it only trains the most promising ones, step by step, with an increasing number of epochs at each step (the final goal is to discard all models except one, the best perfoming one).

So the training of a specific model is not performed in one shot, but it’s perfomed by steps, where in each of them Keras saves the state of the training.

By setting max_epochs=100, I noticed that the training of a model is performed by these steps (called “Runnning trials“):

  1. firstly, from epoch 1 to epoch 3;
  2. secondly, from 4 to 7;
  3. then, from 8 to 13;
  4. then, from 14 to 25;
  5. then, from 26 to 50;
  6. and finally, from 51 to 100.

So, at the end of each “Running trial”, Keras saves the state of the training, in order to continue, at the next “Running trial”, the training from that state.

By setting patience=15: during “Runnning trials” 1), 2), 3), 4) of the list above, EarlyStopping could not operate because the number of training epochs is less than patience; thus, EarlyStopping could operate only during “Running trials” 5) and 6) of the list above.

Initially I thought that the patience count started at epoch 1 and should never reset itself when a new “Running trial” begins, but I noticed that the EarlyStopping callback stops the training at epoch 41, thus during the “Running trial” 5), which goes from epoch 26 to 50 .
Thus it seems to me that, at the beginning of each “Running trial”, patience count is reset; indeed: EarlyStopping arrests the training at epoch 41, the first epoch at which EarlyStopping is able to operate, because: start_epoch + patience = 26 + 15 = 41..

Is it normal/expected behavior that patience is automatically reset at the beginning of each “Running trial” while using Keras Hyperband tuning?

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

Categories
Misc

UK Biobank Advances Genomics Research with NVIDIA Clara Parabricks

UK Biobank is broadening scientists’ access to high-quality genomic data and analysis by making its massive dataset available in the cloud alongside NVIDIA GPU-accelerated analysis tools. Used by more than 25,000 registered researchers around the world, UK Biobank is a large-scale biomedical database and research resource with deidentified genetic datasets, along with medical imaging and Read article >

The post UK Biobank Advances Genomics Research with NVIDIA Clara Parabricks appeared first on The Official NVIDIA Blog.