# Train a neural network

**URL:** <https://forums.openmv.io/t/train-a-neural-network/1032>\
**Category:** OpenMV Boards\
**Created:** [December 7, 2018, 2:05pm UTC](https://forums.openmv.io/t/train-a-neural-network/1032 "2018-12-07T14:05:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@Patrick](https://forums.openmv.io/u/Patrick)\
**Post date:** [December 7, 2018, 2:05pm UTC](https://forums.openmv.io/t/train-a-neural-network/1032/1 "2018-12-07T14:05:49Z")

</div>

Hello everybody, I’m Patrick and I just started using an Open MV3 R2.

First of all, the purpose of my work is to detect a particular object and register its movements (quantify them and record them, writing the output to a file).

I am quite familiar with Python, but I never trained a neural network before.  
I saw that there is a tutorial on Github, but apparently is only for Ubuntu users.

I have got some questions.

1. Do you think it’s possible create a NN on Windows?
2. Should I create the .network file before on a Jupiter notebook and then load it into the OpenMV environment ?
3. How does the path works (for external files) ? For instance if I want to save an image or to read it, where should I locate it ?  
  
  
Thank you very much for any indication that you’ll provide to me.

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [December 9, 2018, 12:28am UTC](https://forums.openmv.io/t/train-a-neural-network/1032/2 "2018-12-09T00:28:50Z")

</div>

Hi Patrick

> 1. Do you think it’s possible create a NN on Windows?

Yes, if you can setup Caffe on Windows you should be able to produce the same results. However I would just use Ubuntu (things just work on Linux)

> 1. Should I create the .network file before on a Jupiter notebook and then load it into the OpenMV environment ?
> 2. How does the path works (for external files) ? For instance if I want to save an image or to read it, where should I locate it ?

Please see the README file here, it covers the whole process in details (This will be merged into the project soon):

[https://github.com/openmv/openmv/tree/master/ml/cmsisnn](https://github.com/openmv/openmv/tree/master/ml/cmsisnn)
