|
submitted by /u/spmallick [visit reddit] [comments] |
|
submitted by /u/spmallick [visit reddit] [comments] |
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]
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.
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]
Don’t miss the chance to experience the breakthroughs that are driving the future of autonomy. NVIDIA GTC will bring together the leaders, researchers and developers who are ushering in the era of autonomous vehicles. The virtual conference, running March 21-24, also features experts from industries transformed by AI, such as healthcare, robotics and finance. And Read article >
The post Take the Future for a Spin at GTC 2022 appeared first on The Official NVIDIA Blog.
So I have been trying at this for ages now, my GPU is GTX 1650 SUPER and I have Python 3.9.5 with tensorflow version 2.7.0 and CUDA 11.2, cuDNN 8.1.0. Here is the issue: sometimes, my models train but most of the time it errors with:
E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
or some other variants (again, they kinda take turns fighting to be errors):
E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_MISALIGNED_ADDRESS: misaligned address E tensorflow/stream_executor/cuda/cuda_event.cc:29] Error polling for event status: failed to query event: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
and I have absolutely no idea why its doing this. I don’t think its my code because I was able to train my code 100% of the time on CPU, but it takes like half an hour to do that and GPUs take only 3 minutes, 10 times faster!!! Who else has this error and why is it occuring randomly, also: could MSI Afterburner mess with it?
submitted by /u/bootsareme
[visit reddit] [comments]
I have a small data set of images (seven images) that I annotated by drawing bounding boxes on the objects I want to detect using VGG Image Annotator (VIA). When I exported the annotations, it only gave me one JSON file for all the annotations.
How would I go about importing that JSON file, along with the pictures into TensorFlow? I tried to follow the documentation, but got lost.
I also tried the RoboFlow service where I could turn my images/annotations into TFRecords and a TensorFlow CSV files, but I was also lost on how to implement this.
I am using Python 3.6.9 in my JupyterLab environment.
submitted by /u/Tuka-Cola
[visit reddit] [comments]
I trained a custom image classification model using Python and now want to deploy it on a native application which I’ve made using React Native. My initial approach to this was to use tfjs. However, tfjs has poor support, unresolved complaints on the forums and a ton of dependency issues when it comes to using custom models on react native, from my experience. I couldn’t figure out any of those by myself. So I switched up and am now trying to load the model on a Python REST API, and am planning to call it from my React Native app. Is this the best way to approach this problem? I’m new to machine learning and programming overall in general, and would love to hear some insight. Is it sensible to upload an image from the React Native front end and then get the prediction using the model on the back end? Also if I’m wrong about the problems with tfjs and someone has successfully used it I’d love to hear how you do it, please. Any and everything helpful is much appreciated, thank you very much.
submitted by /u/NoobyTooo
[visit reddit] [comments]
Join the robotics deep dive with Jetson Developer Day at GTC; sign up for one of 45 full-day developer workshops at GTC. 
Our weekly roundup covers the most recent software updates, learning resources, events, and notable news.
Events
NVIDIA Jetson Developer Day is led by world-renowned experts in robotics, edge AI, and deep learning. This one-day event, at the start of GTC on Monday, March 21, gives a unique deep-dive into building next-gen AI-powered applications and autonomous machines.
Whether you are new to the Jetson platform or an advanced user, you will be among the first to hear about the latest hardware and software developments for robotics, computer vision, deep learning, and more. Attendees will learn about the newest addition to the NVIDIA Jetson family, AGX Orin. It’s the ideal solution for deploying AI at the edge for advanced robotics and autonomous machines in fields such as manufacturing, logistics, retail, agriculture, and beyond.
You are also invited to join the special developer breakout session at the end of the day. Interact directly with the Jetson product team and get answers to all your questions.
Register online: Jetson Developer Day at GTC
Workshops
The Deep Learning Institute (DLI) is hosting 45 full-day workshops for developers at GTC.
The workshops are available in multiple languages and time zones, and participants can earn a DLI certificate of competency upon completion. Workshop topics include deep learning, cybersecurity, recommender systems, NLP, and more.
Early bird pricing for full-day workshops are just $99 until Feb. 28, 2022. The regular workshop rate is $149. The 2-hour DLI sessions are free with registration.
Learn more: Hands-on DLI Training at GTC
Real-time rendering and photorealistic graphics used to be tall tales, but NVIDIA Omniverse has made them fact from fiction. NVIDIA’s own artists are writing new chapters in Omniverse, an accelerated 3D design platform that connects and enhances 3D apps and creative workflows, to showcase these stories. Combined with the NVIDIA Studio platform, Omniverse and Studio-validated Read article >
The post Bringing Novel Idea to Life, NVIDIA Artists Create Retro Writer’s Room in Omniverse With ‘The Storyteller’ appeared first on The Official NVIDIA Blog.