examples/dcgan/imgen.rb in ruby-dnn-0.12.4 vs examples/dcgan/imgen.rb in ruby-dnn-0.13.0

- old
+ new

@@ -5,10 +5,10 @@ Image = DNN::Image batch_size = 100 -dcgan = Model.load("trained/dcgan_model_epoch20.marshal") +dcgan = DCGAN.load("trained/dcgan_model_epoch20.marshal") gen = dcgan.gen Numo::SFloat.srand(rand(1 << 31)) noise = Numo::SFloat.new(batch_size, 20).rand(-1, 1) images = gen.predict(noise)