Skip to content

Commit

Permalink
Merge pull request #3 from sakai/patch-1
Browse files Browse the repository at this point in the history
fix to use open-uri
  • Loading branch information
Kunihiko Miyoshi authored and GitHub Enterprise committed Jul 2, 2018
2 parents 7c145cf + 8059d3f commit 8570566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/example_vgg16.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def download_file(url, output)
return if File.exist? output
puts "downloading... #{url}"
File.open(output, 'wb') do |f_output|
File.open(url, 'rb') do |f_input|
open(url, 'rb') do |f_input|
f_output.write f_input.read
end
end
Expand Down

0 comments on commit 8570566

Please sign in to comment.