How to Load images in either Knet or MXNet


#1

My images are from google street views 74K. I read and gone through every tutorial still can’t load an image. They are 50x50 rgb jpg images
any help would be greatly appreciated.


#2

I think you’re looking for https://github.com/JuliaIO/FileIO.jl and https://github.com/JuliaIO/ImageMagick.jl

Read the readme for both, I found the FileIO system a little confusing as well.

But basically install them both and run:

using FileIO
img = load(filename)

Edit: unless I misunderstood and you’re loading particularly large images or something specific? what units did you mean with 50 x 50 ?


#3

pixels


#4

Well you should be fine then :slight_smile:


#5

OK ,
Thank You


#6

If that works for you, you can mark it as the solution.


#7

I will give it a try and see how it goes looks like it should work.