pluskid / Mocha.jl

Deep Learning framework for Julia
Other
1.29k stars 254 forks source link

More informative error messages #148

Closed slundberg closed 8 years ago

slundberg commented 8 years ago

These error messages are encountered when attempting to load mismatched networks (such as a Float32 snapshot into a Float64 network). By explicitly reporting which types are passed it is much easier to figure out what is going wrong. See #132 for an example where reporting the types would be helpful.