lib/dnn/lib/image.rb in ruby-dnn-0.8.7 vs lib/dnn/lib/image.rb in ruby-dnn-0.8.8
- old
+ new
@@ -1,6 +1,6 @@
require "numo/narray"
-require_relative "../ext/rb_stb_image/rb_stb_image"
+require_relative "../../../ext/rb_stb_image/rb_stb_image"
module DNN
module Image
def self.read(file_name)
raise Image::ReadError.new("#{file_name} is not found.") unless File.exist?(file_name)