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

"separate not defined" on the cat example #408

Open
LTGZZ opened this issue Jan 24, 2018 · 4 comments
Open

"separate not defined" on the cat example #408

LTGZZ opened this issue Jan 24, 2018 · 4 comments

Comments

@LTGZZ
Copy link

LTGZZ commented Jan 24, 2018

Hi,

when I try to run this example:
https://github.com/dmlc/MXNet.jl/blob/master/examples/imagenet/ijulia-pretrained-predict/Prediction

I got this error:
ERROR: LoadError: UndefVarError: separate not defined

Seems that I'm missing a Julia package, but I can't find which one.

@iblislin
Copy link
Member

cc @pluskid
Could you recall that?
(That example code hasn't been updated for a long time...

@LTGZZ
Copy link
Author

LTGZZ commented Jan 25, 2018

`
using Images, Colors, ImageMagick

img = load("cat.png")

img = convert(Array, separate(convert(Image{RGB}, img)))
`

@pluskid
Copy link
Member

pluskid commented Jan 31, 2018

IIRC the separate function must come from the Images.jl package. Wonder if they have removed that function or changed to something else... ...

@pluskid
Copy link
Member

pluskid commented Jan 31, 2018

I believe what it does it to separate array of RGB atoms into 3 dimensional real or integer values.

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