Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug runing run_mnist() #19

Open
krzakala opened this issue Dec 14, 2015 · 3 comments
Open

Bug runing run_mnist() #19

krzakala opened this issue Dec 14, 2015 · 3 comments

Comments

@krzakala
Copy link

Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
[Epoch 0015] Train(pl : -0.082, tl : -0.079), Valid(pl : -0.083, tl : -0.079) [12.726 µsec/batch/unit]
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
[Epoch 0020] Train(pl : -0.070, tl : -0.072), Valid(pl : -0.077, tl : -0.073) [12.652 µsec/batch/unit]
I got this:

Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
ERROR: MethodError: write has no method matching write(::Function, ::ASCIIString, ::Array{Float64,2})
Closest candidates are:
write{T<:Base.AbstractPipe}(::T<:Base.AbstractPipe, ::Any...)
write(::IO, ::Any...)
write(::Union{HDF5.HDF5File,HDF5.HDF5Group}, ::Union{ASCIIString,UTF8String}, ::Any, ::Union{ASCIIString,UTF8String}, ::Any, ::Any...)
...
in save_params at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:12
in anonymous at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:19
in h5open at /Users/florent/.julia/v0.4/HDF5/src/plain.jl:567
in save_params at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:18
in run_mnist at none:42

@alaa-saade
Copy link

I think Eric solved that one in Montreal. Probably just a missing using
hdf5 somewhere ?

Le lun. 14 déc. 2015 à 21:53, Florent Krzakala notifications@github.com a
écrit :

Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
[Epoch 0015] Train(pl : -0.082, tl : -0.079), Valid(pl : -0.083, tl :
-0.079) [12.726 µsec/batch/unit]
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
[Epoch 0020] Train(pl : -0.070, tl : -0.072), Valid(pl : -0.077, tl :
-0.073) [12.652 µsec/batch/unit]
I got this:

Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:06
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
Fitting Batches...100% Time: 0:00:07
ERROR: MethodError: write has no method matching write(::Function,
::ASCIIString, ::Array{Float64,2})
Closest candidates are:
write{T<:Base.AbstractPipe}(::T<:Base.AbstractPipe, ::Any...)
write(::IO, ::Any...)
write(::Union{HDF5.HDF5File,HDF5.HDF5Group},
::Union{ASCIIString,UTF8String}, ::Any, ::Union{ASCIIString,UTF8String},
::Any, ::Any...)
...
in save_params at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:12
in anonymous at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:19
in h5open at /Users/florent/.julia/v0.4/HDF5/src/plain.jl:567
in save_params at /Users/florent/.julia/v0.4/Boltzmann/src/io.jl:18
in run_mnist at none:42


Reply to this email directly or view it on GitHub
#19.

@krzakala
Copy link
Author

I see. I was maybe using an old version. Now we should have the export to Mocha function working in our version of the package

@eric-tramel
Copy link

Hi guys, was this fixed in the end? I don't seem to be having any problems at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants