MIKENET: Difference between revisions

From CCN Wiki
Jump to navigation Jump to search
(Created page with "Check this out http://www.cnbc.cmu.edu/~mharm/research/tools/mikenet/#buildsim")
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Check this out
Check this out
http://www.cnbc.cmu.edu/~mharm/research/tools/mikenet/#buildsim
http://www.cnbc.cmu.edu/~mharm/research/tools/mikenet/#buildsim
Modify your ~/.bashrc file to contain the following two lines:
export MIKENET_DIR=${HOME}/Mikenet-v8.02
export ARCH=`uname -m`
After you modify your .bashrc file, reload it using the source command in your terminal:
source ~/.bashrc
Or, alternatively, '.' can be used in this context as an alias for the source command:
. ~/.bashrc
Either of the above two commands will do the same thing, namely, parse your .bashrc file, which will now set your MIKENET_DIR and ARCH environment variables
Random notes for modifying MikeNet
1. There are character length limitations on functions (segmentation fault)
2. If no seed is set, the seed is taken from the top of the weight file (important if relying on randomization)
3. Once the MikeNet libs are recompiled with mods, must also recompile all .c files built using the previous version

Latest revision as of 16:55, 2 March 2017

Check this out http://www.cnbc.cmu.edu/~mharm/research/tools/mikenet/#buildsim


Modify your ~/.bashrc file to contain the following two lines:

export MIKENET_DIR=${HOME}/Mikenet-v8.02
export ARCH=`uname -m`

After you modify your .bashrc file, reload it using the source command in your terminal:

source ~/.bashrc

Or, alternatively, '.' can be used in this context as an alias for the source command:

. ~/.bashrc

Either of the above two commands will do the same thing, namely, parse your .bashrc file, which will now set your MIKENET_DIR and ARCH environment variables

Random notes for modifying MikeNet

1. There are character length limitations on functions (segmentation fault)
2. If no seed is set, the seed is taken from the top of the weight file (important if relying on randomization)
3. Once the MikeNet libs are recompiled with mods, must also recompile all .c files built using the previous version