Categories
Misc

Can Evaluation Produce Multiple Losses?

I have a model with multiple outputs. It’s trained with one loss function that minimizes loss for all of them together.

After the model is trained, I’m curious about the individual losses of each output. Is there anyway to easily evaluate the model so that I get multiple losses, one for each output?

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

Categories
Misc

The Data Center’s Traffic Cop: AI Clears Digital Gridlock

Gal Dalal wants to ease the commute for those who work from home — or the office. The senior research scientist at NVIDIA, who is part of a 10-person lab in Israel, is using AI to reduce congestion on computer networks. For laptop jockeys, a spinning circle of death — or worse, a frozen cursor Read article >

The post The Data Center’s Traffic Cop: AI Clears Digital Gridlock appeared first on NVIDIA Blog.

Categories
Misc

Upcoming Webinar: Build a Computer Vision Application with NVIDIA AI on Google Cloud Vertex AI

Register for this live webinar to learn how to build an action recognition application with NVIDIA AI on Google Cloud Vertex AI.

Categories
Misc

3D Environment Artist Jacinta Vu Sets the Scene ‘In the NVIDIA Studio’

3D environment artist Jacinta Vu joins us In the NVIDIA Studio this week, showcasing her video game inspired scene Royal Library and 3D content creation workflow. Based in Cincinnati, Vu specializes in transforming 2D concept art into 3D models and scenes, a critical contribution she made to The Dragon Prince from Wonderstorm Games.

The post 3D Environment Artist Jacinta Vu Sets the Scene ‘In the NVIDIA Studio’ appeared first on NVIDIA Blog.

Categories
Misc

How to fix "NoneType object is not callable" in Keras model?

The code works perfectly fine if I don’t include my custom accuracy metric function. Can someone tell the fix for the same?

Accuracy Metric Function

def get_multiaccuracy(y_true, y_pred): total_labels = 0 correct_labels = 0 for i, val in enumerate(y_true): if val == 1: total_labels += 1 if y_pred[i] == 1: correct_labels += 1 for i, val in enumerate(y_pred): if val == 1: if y_true[i] != 1: total_labels += 1 return correct_labels/total_labels 

Model Compiler

model.compile(optimizer = 'adam', loss='binary_crossentropy',metrics=[get_multiaccuracy]) 

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

Categories
Misc

Serialize a model in a file

Hello, i am using tensorflow-addons API for a machine translation project.

I want to load my models and do predictions without train again them.

My architecture is Encoder – Decoder with Bahdanau Attention mechanism.

When i try to serialize the encoder and decoder objects in a file and i get this error :

TypeError: can’t pickle tensorflow.python.client._pywrap_tf_session.TF_Operation objects

How can i resolve this ?

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

Categories
Misc

Upcoming Webinar: Edge AI and Robotics Solutions with NVIDIA

Image of NVIDIA computer chip and Jetson Orin.Sign up for this AUVSI webinar on June 15 highlighting NVIDIA Jetson AGX Orin and the latest simulation technologies.Image of NVIDIA computer chip and Jetson Orin.

Categories
Misc

I’m trying to build a custom model for raspberry Pi using Google colab, but I’m stuck at an error which reads " The size of the train_data cannot be smaller than batch_size". I’ve tried varying the quantity of train/validate data, but all my attempts proved futile. Please help me out

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

Categories
Misc

Powered Up: 5G and VR Accelerate Vehicle Battery Design

Traveling the scenic route between Wantage, a small town in Oxfordshire, and Coventry in the U.K. meanders up steep hills, past the birthplace of Shakespeare and skirts around 19th-century English bathhouses. A project using edge computing and the world’s first 5G-enabled VR technology is enabling two engineering teams in those locales, about 70 miles apart, Read article >

The post Powered Up: 5G and VR Accelerate Vehicle Battery Design appeared first on NVIDIA Blog.

Categories
Misc

Metric drops to 0 while fitting and stay there

Metric drops to 0 while fitting and stay there

Hey everyone, this has happened to me a couple of times now and I dont realize why.

Throughout fitting a pretrained model from huggingface (but also happened on own models) the metric (not only my custom metric, but also accuracy etc.) suddenly drop to 0 at a random epoch (sometimes 3rd, sometimes 4th, sometimes another..) and doesnt return.
Why could this be, do you have any ideas how to avoid this? train / test and overall hyperparameters work on other pretrained model without failure.

https://preview.redd.it/zm0cyhpb18591.png?width=1465&format=png&auto=webp&s=2ac1259ad6358f54eb7121f333201d351da6cc60

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