Merlin.jl icon indicating copy to clipboard operation
Merlin.jl copied to clipboard

Datasets not defined

Open terasakisatoshi opened this issue 6 years ago • 2 comments

When I try to execute mnist.jl which is provided as an example of this repository, I get an error with the following error message:

$ julia mnist.jl 
[ Info: # CPU threads: 1
┌ Warning: CUDA cannot be found.
└ @ Merlin.CUDA ~/.julia/packages/Merlin/9PYPk/src/cuda/CUDA.jl:13
┌ Warning: Package Merlin does not have Test in its dependencies:
│ - If you have Merlin checked out for development and have
│   added Test as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Merlin
└ Loading Test into Merlin from project dependency, future warnings for Merlin are suppressed.
ERROR: LoadError: UndefVarError: Datasets not defined
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] exec_options(::Base.JLOptions) at ./client.jl:229
 [5] _start() at ./client.jl:421
in expression starting at /home/terasaki/Downloads/mnist.jl:2

I think

using Merlin.Datasets.MNIST

does not work properly.

How should we avoid the error?

Thank you in advance.

terasakisatoshi avatar Sep 24 '18 15:09 terasakisatoshi

additional information:

my pc env: Ubuntu 16.04

julia> versioninfo()
Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) M-5Y51 CPU @ 1.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)

terasakisatoshi avatar Sep 24 '18 15:09 terasakisatoshi

Thanks. This will be fixed soon.

hshindo avatar Sep 26 '18 04:09 hshindo