oduerr / dl_tutorial Goto Github PK
View Code? Open in Web Editor NEWTutorials for deep learning
Tutorials for deep learning
Hello,
I'm coding in Python and i'm getting this error message (in the title). I have Pillow and Scipy installed. Don't know why it doesn't work. However, it worked when I used Anaconda but for few weeks, I've been using Atom where the problem persists.
Thank you !
Hello! When using this code
from nolearn.lasagne import BatchIterator
class SimpleBatchIterator(BatchIterator):
def transform(self, Xb, yb):
# The 'incomming' and outcomming shape is (10, 1, 28, 28)
Xb, yb = super(SimpleBatchIterator, self).transform(Xb, yb)
return manipulateTrainingData(Xb), yb #<--- Here we do the manipulations of the training set
# Setting the new batch iterator
net1Aug = createNet()
net1Aug.max_epochs = epochs_augmentation
net1Aug.batch_iterator_train = SimpleBatchIterator(256)
The original image is completely replaced by the new image after a call to the method
transform(self, Xb, yb)
ie training sets extends (adding new modified image)
or training set remains the same size replaced only the images themselves?
Block [10] of the code is:
scipy.misc.imsave(os.path.join(LOG_DIR, 'sprite.png'), sprite)
It is returning the error:
AttributeError Traceback (most recent call last)
<ipython-input-10-77b0287eb4e3> in <module>()
1 sprite = images_to_sprite(imgs)
----> 2 scipy.misc.imsave(os.path.join(LOG_DIR, 'sprite.png'), sprite)
AttributeError: 'module' object has no attribute 'imsave'
I tried adding the full library path in block [1]
import scipy.misc
but this did not help.
Suggestions?
In https://github.com/oduerr/dl_tutorial/blob/master/tensorflow/vae/vae_demo.ipynb, are encoder and decoder title being switched?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.