ragavvenkatesan / yann

This toolbox is support material for the book on CNN (http://www.convolution.network).
http://www.yann.network
Other
41 stars 27 forks source link

NameError: name 'cost' is not defined in /yann/network.py #21

Closed JordanRushing closed 7 years ago

JordanRushing commented 7 years ago

While working through the quick-start documentation to gain more YANN knowledge for better test design I encountered an error with the function net.test()

I have a pull request ready to be created that will also fix misc. import issues that allow for net.cook() to work fully before calling net.train()

Below is a screenshot of the python interpreter trace and the source of the issue within network.py

net_train_nameerror

ragavvenkatesan commented 7 years ago

This error was created on my last push. I will fix it today. Watch the dev branch.

JordanRushing commented 7 years ago

@ragavvenkatesan No problem - thank you very much!

ragavvenkatesan commented 7 years ago

This was solved some time ago. I also synced the master with the dev.