Comments (8)
You have most likely missed compiling the gRPC interface for the Environment Server.
chmod +x compile_protos.sh; ./compile_protos.sh
from active-qa.
Me too.
from active-qa.
I seem to be getting this as well. If I comment out from px.proto import aqa_pb2
from active-qa/px/nmt/environment_client.py
, then I get a different error: A server address must be provided
.
I don't see anything related to aqa_pb2
in the commit history either.
I'm using Python 3 (same issue with Python 2)
from active-qa.
trying just do re-formulator inferences ..
getting same import error ..maybe something to do with enums
from px.proto import aqa_pb2
ImportError: cannot import name 'aqa_pb2'
from active-qa.
thank you. I realized it last night:)
from active-qa.
Does this resolve the issue?
You have most likely missed compiling the gRPC interface for the Environment Server.
chmod +x compile_protos.sh; ./compile_protos.sh
from active-qa.
HI, @JohannesTK ,
Actually i Compiled the environment server but i could't resolve the issue like i am getting the error as
(my_name) manikantha@Manikantha-PC:~/Downloads/active-qa-master$ chmod +x compile_protos.sh; ./compile_protos.sh
WORK_DIR: ./px/
~/Downloads/active-qa-master/px ~/Downloads/active-qa-master
~/Downloads/active-qa-master
(my_name) manikantha@Manikantha-PC:/Downloads/active-qa-master$/Downloads/active-qa-master$ python -m px.environments.bidaf_server --port=10000 --squad_data_dir=data/squad --bidaf_shared_file=data/bidaf/shared.json --bidaf_model_dir=data/bidaf/
(my_name) manikantha@Manikantha-PC:
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:458: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:459: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:460: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:461: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:462: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:465: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/home/manikantha/my_name/local/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/manikantha/Downloads/active-qa-master/px/environments/bidaf_server.py", line 38, in
from px.proto import aqa_pb2_grpc
File "/home/manikantha/Downloads/active-qa-master/px/proto/aqa_pb2_grpc.py", line 4, in
import aqa_pb2 as aqa__pb2
ModuleNotFoundError: No module named 'aqa_pb2'
can any one help me in resolving this issue
Note: I am using Python 3.6.9
Thanks And Regards,
Manikantha Sekhar.
Happy Codding..
from active-qa.
You have most likely missed compiling the gRPC interface for the Environment Server.
chmod +x compile_protos.sh; ./compile_protos.sh
Even though i am getting the same error no module aqa_pb2 error i was unbale to go forword without resolving this issue could any one help me
Thanks & Regards,
Manikantha Sekhar
from active-qa.
Related Issues (20)
- odd gprc status reporting during selector training HOT 2
- How do i use Selector for a custom document? HOT 6
- Getting a a grpc.FutureTimeoutError while using Reformulator from the checkpoint HOT 2
- Nonsensical reformed queries from Reformulator HOT 1
- Model pretrained on UN and Paralex datasets
- Are you running the environment server before running the reformulator code? HOT 10
- Getting a grpc.FutureTimeoutError while using Reformulator from the checkpoint HOT 1
- ValueError from the run environment step
- Have not found Monte Carlo Sampling in the code HOT 3
- Setup on Windows
- Docker Image?
- Installation Error
- Assertion Error
- The Process is killed in the middle
- Getting an error while running the reformulator_training file
- How to test with own txt file or a document file
- Problem in download of reformulator pretrained model. HOT 3
- Problem in download the selector pretrained model.
- reformulator and selector links are invalid HOT 2
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 active-qa.