ericzeiberg / machinelearning Goto Github PK
View Code? Open in Web Editor NEWVarious projects to learn about Machine Learning
Various projects to learn about Machine Learning
Hello
I would like to know how can I eval the model. I did some attempts but none of them worked fo me.
For example:
flags.DEFINE_string('checkpoint', "checkpoints/-2400", 'Checkpoint file')
flags.DEFINE_boolean('eval', True, 'Whether to train or evaluate')
flags.DEFINE_string('image', "images/0065UL-330.png", 'Image file for evaluation')
Return:
Instructions for updating:
Use `tf.global_variables_initializer` instead.
Traceback (most recent call last):
File "learn.py", line 86, in <module>
predictions = model.predict(img)
File "/Users/samirantonio/anaconda/envs/flappybird/lib/python2.7/site-packages/tflearn/models/dnn.py", line 204, in predict
return self.predictor.predict(feed_dict)
File "/Users/samirantonio/anaconda/envs/flappybird/lib/python2.7/site-packages/tflearn/helpers/evaluator.py", line 69, in predict
o_pred = self.session.run(output, feed_dict=feed_dict).tolist()
File "/Users/samirantonio/anaconda/envs/flappybird/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/Users/samirantonio/anaconda/envs/flappybird/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 943, in _run
% (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 36, 36, 3) for Tensor u'InputData/X:0', which has shape '(?, 125, 30, 3)'
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.