hanxiao / demo-gnes-flow Goto Github PK
View Code? Open in Web Editor NEWDemo of building a flower image search using GNES Flow API
License: Apache License 2.0
Demo of building a flower image search using GNES Flow API
License: Apache License 2.0
I noticed several issues with the notebook,
'/tmp/gnes-flow-demo'
to 'tmp/gnes-flow-demo'
(otherwise a directory was created under my user directory).${TEST_WORKDIR}
for $TEST_WORKDIR
(otherwise the brackets where interested in the shell literally).-p
flag to the mkdir
command (otherwise an error is returned about 'tmp'
not existing).If these are real issues and not just me misunderstanding I would be happy to open a quick PR?
When trying to install the requirements, especifically tensorflow 1.12 I get the below message. I have tried with python 3.8, 3.7 and 2.7.
I am a bit lost with how to use it, so any help would be appreciated. Eager to learn how to use it.
ERROR: Could not find a version that satisfies the requirement tensorflow==1.12 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0rc0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1, 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3)
attribute error: module 'grpc' has no attribute 'server'
throwing from frontend.py at gnes/service.
my grpc version is 1.27.2
import grpc
>>> print(grpc.__version__)
1.27.2
I supposed in frontend.py
at line
insted of grpc.server(...)
should have been grpc.Server(...)
However, fixing that threw another error:
~/anaconda3/envs/myenv/lib/python3.6/site-packages/gnes/service/frontend.py in __init__(self, args)
21 ThreadPoolExecutor(max_workers=args.max_concurrency),
22 options=[('grpc.max_send_message_length', args.max_message_size),
---> 23 ('grpc.max_receive_message_length', args.max_message_size)])
24 self.logger.info('start a frontend with %d workers' % args.max_concurrency)
25 gnes_pb2_grpc.add_GnesRPCServicer_to_server(self._Servicer(args), self.server)
TypeError: object() takes no parameters
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.