Public | Automated Build

Last pushed: a year ago
Short Description
halide and anaconda3
Full Description

Dockerfile for halide and anaconda3

Docker Pull Command
Owner
ar90n
Source Repository

Comments (1)
aqpeeb
a year ago

I am giving your image a shot, however most of the tutorials and apps in the python_bindings directory fail. For example:

# python tutorial/lesson_01_basics.py 
Traceback (most recent call last):
  File "tutorial/lesson_01_basics.py", line 112, in <module>
    main()
  File "tutorial/lesson_01_basics.py", line 83, in main
    assert type(output) == h.Image_int32
AssertionError

and

# python apps/interpolate.py 
Finished function setup.
Flat schedule with parallelization + vectorization
Interpolated in 0.11172 secs
Traceback (most recent call last):
  File "apps/interpolate.py", line 208, in <module>
    main()
  File "apps/interpolate.py", line 193, in main
    output_data = image_to_ndarray(output_image)
ValueError: image_to_ndarray received an object that is not an Image<T>

But at least one app I tried did run:

# python apps/blur.py        
rgb_data <class 'numpy.ndarray'> (2560, 1536, 3) uint8
input_image <halide.Image_uint8; element_size 1 bytes; extent (2560 1536 0 0); min (0 0 0 0); stride (1 2560 0 0)>
output_image <halide.Image_uint8; element_size 1 bytes; extent (2560 1536 0 0); min (0 0 0 0); stride (1 2560 0 0)>

blur realized on output image. Result saved at blur_result.png ( input data copy at blur_input.png )

End of game. Have a nice day!

and the .png produced by blur.py is a valid image. So ... what should I conclude?