Pinning data to GPU in Tensorflow and PyTorch

Posted on mar. 02 octobre 2018 in Tutorial by Laura Domine
Tagged with memory, tensorflow, pytorch

Sometimes you might want to keep ('pin') some data on GPU. We demonstrate how to do it in Tensorflow and PyTorch.


Continue reading

Writing your own CUDA kernel (Part 1)

Posted on mar. 02 octobre 2018 in Tutorial by Laura Domine
Tagged with cuda, tensorflow, pytorch

First part of a tutorial serie to write your own CUDA kernel and use it in Tensorflow or PyTorch.


Continue reading

Writing your own CUDA kernel (Part 2)

Posted on mar. 02 octobre 2018 in Tutorial by Laura Domine
Tagged with cuda, tensorflow, pytorch

Second part of a tutorial serie to write your own CUDA kernel and use it in Tensorflow or PyTorch.


Continue reading

Profiling Tensorflow

Posted on mar. 25 septembre 2018 in Tutorial by Corey Adams
Tagged with Tensorflow, profiling, memory, comparisons

A walkthrough of many of the current techniques for profiling time and memory usage for tensorflow.


Continue reading

Analyzing Network Output - Part 1, Training and Saving

Posted on jeu. 12 avril 2018 in Tutorial by Corey Adams
Tagged with MNIST, training, saving, minibatching, batch norm

I train a very simple and basic mnist classification network with a lot of overkill: I use minibatching, batch normalization, and save the network weights to disk. This tutorial can be done on a CPU. In Part 2, I restore the model, run on the validation set, and analyze the results.


Continue reading

Analyzing Network Output - Part 2, Restoring and Analyzing

Posted on jeu. 12 avril 2018 in Tutorial by Corey Adams
Tagged with MNIST, retoring, analysis, minibatching, batch norm

See Part 1 first! There, I trained an mnist classifier. Here, I restore the trained network, run the network on the validation script, and do some analysis on the output. This is meant as a template for new users to see "how do I actually use a trained network?" Lots of this information exists elsewhere too, I've just tried to consolidate the basics.


Continue reading

Tutorials on Colaboratory

Posted on ven. 02 mars 2018 in tutorial by Kazuhiro Terao
Tagged with python tutorial, DL tutorial, colaboratory, tensorflow

List of tutorials covering basics of tensorflow, slim, image classification and semantic segmentation using MNIST images. All notebooks can be run on free Google colaboratory with GPU. No need to own your own GPU machine!


Continue reading

PyTorch/LArCV Classification Example with Data Set (v0.1.0)

Posted on mar. 09 janvier 2018 in tutorial by Taritree
Tagged with resnet, pytorch, classification, example

An example of training a classification network on the 5-particle LArCV training data using pytorch.


Continue reading

Getting started: paper readings

Posted on mar. 19 d├ęcembre 2017 in tutorial by Kazuhiro Terao
Tagged with paper

Useful readings for (new) group members.


Continue reading

Tutorials

Posted on mar. 19 d├ęcembre 2017 in tutorial by Kazuhiro Terao
Tagged with python tutorial, larcv tutorial, public data

List of tutorials covering software installations, training a network using (public) larcv data files, and developing your own code in larcv.


Continue reading