IDE Nvidia’s Eclipse Nsight
Domenic Curro edited this page Oct 16, 2016
·
9 revisions
Pages 35
- Home
- AWS EC2 GPU enabled Caffe AMI
- Borrowing Weights from a Pretrained Network
- Caffe installing script for ubuntu 16.04 support Cuda 8
- Caffe on EC2 Ubuntu 14.04 Cuda 7
- Caffe Output: .caffemodel .solverstate
- Contributing
- Development
- Excluding Layers: Train and Test Phase
- Faster Caffe Training
- Fine Tuning or Training Certain Layers Exclusively
- GeForce GTX 1080, CUDA 8.0, Ubuntu 16.04, Caffe
- IDE Nvidia’s Eclipse Nsight
- Image Format: BGR not RGB
- Install Caffe on EC2 from scratch (Ubuntu, CUDA 7, cuDNN 3)
- Installation
- Installation (OSX)
- Making Prototxt Nets with Python
- Model Zo
- Model Zoo
- Models accuracy on ImageNet 2012 val
- OpenCV 3.2 Installation Guide on Ubuntu 16.04
- Python Layer Unit Tests
- Related Projects
- Reporting Bugs and Other Issues
- Simple Example: Sin Layer
- Solver Prototxt
- The Data Layer
- The Datum Object
- Training and Resuming
- Ubuntu 14.04 ec2 instance
- Ubuntu 14.04 VirtualBox VM
- Ubuntu 16.04 or 15.10 Installation Guide
- Using a Trained Network: Deploy
- Working with Blobs
- Show 20 more pages…
Clone this wiki locally
Nsight Eclipse Edition
Nsight Eclipse is a tool made by NVidia to assist in edditing, building, debugging Cuda applications. It is avaible on the NVidia developer site at: https://developer.nvidia.com/nsight-eclipse-edition
Creating a caffe Project
- Launch Nsight.
- Navigate to File -> New -> Makefile Project with Existing Code.
- Name your project caffe, or something of your choosing.
- Under existing code location, select the browse button.
- Navigate to your caffe directory.
- Select OK.
- Select Finish.
- Open the caffe Makefile.config and uncomment the debug line:
DEBUG := 1.
Building caffe and tests
Building caffe
Select the hammer icon in the top menu bar. It should work out of the box.
Building Tests
- In the Make Target Pane, right-click and select
New... - Name the target
build_test. - Clear the Make Target field.
- In the Build Command field enter
make test -j
When this is complete, the Make Target Pane should have a target named build_test. Double click build your tests.
Running All Tests
- In the Make Target Pane, right-click and select
New... - Name the target
run_all_tests. - Clear the Make Target field.
- In the Build Command field enter
make runtest
When this is complete, the Make Target Pane should have a target named run_all_tests. Double click this to run all of your tests.
Debugging
First Time
- Ensure that you've built everything (the code and the tests).
- Click the bug icon in the top menu.
- You will be presented with a list of bin objects.
- Select the one you want to debug.
Second Time and on (if you don't want to debug the same bin)
- Select the little arrow beside the bug icon.
- Select
Debug Configurations.... - Under the Main tab, select Search Project.
- Select the new bin you want to debug.
Some additional references
http://www.pittnuts.com/2015/06/build-and-debug-caffe-in-nsight/