Run
In summary, we have constructed the four basic pieces of spock
.
- A
spock
class that defines our parameters (Basics) - Generated the
spock
namespace object (Building) - Referenced
spock
parameters in other code (Building) - Created a configuration file (Configuration Files)
Now we can run our basic neural network example.
#
Running Our CodeTo run tutorial.py
we pass the path to the configuration file as a command line argument:
python tutorial.py --config tutorial.yaml
#
HelpTo get help for parameters need to run our tutorial.py
script:
python tutorial.py --help
The complete basic example can be found here.