Comments (11)
I had to go
sudo pip install -U flask
sudo pip install -U flask-cors
sudo pip install -U future
now I have the error
Using Theano backend.
Traceback (most recent call last):
File "run_demo.py", line 8, in <module>
from betago.dataloader.processor import SevenPlaneProcessor
ImportError: No module named processor
from betago.
@tarriel I edited run_demo.py, changed 'from betago.dataloader.processor
' into 'from betago.processor
'
now the error is:
Using Theano backend.
Traceback (most recent call last):
File "run_demo.py", line 18, in <module>
model = model_from_yaml(yaml.dump(yml))
File "/Library/Python/2.7/site-packages/keras/models.py", line 19, in model_from_yaml
return layer_from_config(config, custom_objects=custom_objects)
File "/Library/Python/2.7/site-packages/keras/utils/layer_utils.py", line 24, in layer_from_config
class_name = config['class_name']
KeyError: 'class_name'
from betago.
Thanks for the feedback, working on it right now.
@cuongduc I'll have to add flask and friends to dependencies, maybe get rid of CORS after all
@tarriel yes, @heiguo is right, I moved processor one submodule up. I will quickly fix this.
@heiguo thank you for this. The reason for this is that I created the model zoo with Keras 0.3 and suggest to use 1.0 now. There seems to be a backward incompatibility in serialization. Let me see if I can quickly port this and get back to you.
from betago.
@cuongduc @tarriel @heiguo I think I fixed your issues, it's on master. Can anyone confirm it's running now?
git pull
python setup.py install
python run_demo.py
In that case I make a new release.
from betago.
OK guys, I found the time to fix the issue, test them on another machine and made a new release, 0.1.
I hope this works for you and I'm really glad you reported these issues.
from betago.
@maxpumperla Hi, I've pulled the latest release. The flask error has gone, but now I've got:
Using Theano backend.
Traceback (most recent call last):
File "run_demo.py", line 6, in <module>
from keras.models import model_from_yaml
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 5, in <module>
from . import backend as K
File "/usr/local/lib/python2.7/dist-packages/keras/backend/__init__.py", line 51, in <module>
from .theano_backend import *
File "/usr/local/lib/python2.7/dist-packages/keras/backend/theano_backend.py", line 4, in <module>
from theano.tensor.signal import pool
ImportError: cannot import name pool
I hope it will be fixed soon.
Thanks for interesting repo on Go :-)
from betago.
Thanks @cuongduc, what you posted looks like a Theano error. I do not use theano.tensor.signal.pool
anywhere directly and I can't reproduce your error right now.
Did you install theano from master, as explained in http://deeplearning.net/software/theano/install.html#install?
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
from betago.
@maxpumperla thx. ok to run now.
from betago.
@cuongduc @tarriel any feedback, guys? Are we good?
from betago.
Guys, I'd propose to close this issue. If something comes up, just reopen it again. Thanks.
from betago.
I followed all instructions, installing from Main. Error, still:
Using Theano backend. Traceback (most recent call last): File "run_demo.py", line 7, in <module> from betago.model import HTTPFrontend, KerasBot File "/home/ubuntu/workspace/betago/betago/model.py", line 7, in <module> from flask.ext.cors import CORS File "/home/ubuntu/workspace/.betago/local/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module raise ImportError('No module named %s' % fullname) ImportError: No module named flask.ext.cors
from betago.
Related Issues (20)
- Tips for using c9.io HOT 8
- error test : zipfile.BadZipfile: File is not a zip file HOT 2
- How can I run it on windows HOT 4
- Error on BetaGo when starting HOT 3
- Make AJAX asynchronous HOT 2
- only Theano backend works HOT 1
- Improper handling of captured stones (server) HOT 3
- game-state mismatch [bug]/[possible enhancement] HOT 7
- TypeError: 'NoneType' object is not iterable HOT 2
- JS error handling [improvements needed] HOT 7
- Total number of games used: 0 HOT 4
- Python 3 HOT 7
- large training set management HOT 2
- Keep track of score HOT 3
- Get game data from server [help needed] HOT 4
- error test: AssertionError
- UnicodeDecodeError: 'gbk' codec can't decode... When running run_demo.py HOT 2
- Error on run_demo.py
- end_to_end.py KerasBot has no attribute run
- aim
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betago.