Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in serv.recvmsg() #5

Open
Beertje82 opened this issue Nov 8, 2019 · 1 comment
Open

error in serv.recvmsg() #5

Beertje82 opened this issue Nov 8, 2019 · 1 comment

Comments

@Beertje82
Copy link

Beertje82 commented Nov 8, 2019

``
D:_Python\python.exe "C:\Users\Beertje\PyCharm Community Edition 2019.2.4\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 52744 --file "D:/_Forex Projects/python/MetaTraderForecast/socketserver.py"
Socket Created at ('127.0.0.1', 9090). Waiting for client..
connected to ('127.0.0.1', 52997)
Traceback (most recent call last):
File "C:\Users\Beertje\PyCharm Community Edition 2019.2.4\helpers\pydev\pydevd.py", line 20, in
from _pydevd_bundle.pydevd_constants import IS_JYTH_LESS25, IS_PYCHARM, get_thread_id, get_current_thread_id,
File "C:\Users\Beertje\PyCharm Community Edition 2019.2.4\helpers\pydev_pydevd_bundle\pydevd_constants.py", line 192, in
from _pydev_imps._pydev_saved_modules import thread
File "C:\Users\Beertje\PyCharm Community Edition 2019.2.4\helpers\pydev_pydev_imps_pydev_saved_modules.py", line 22, in
import xmlrpc.server as _pydev_SimpleXMLRPCServer
File "D:_Python\lib\xmlrpc\server.py", line 108, in
from http.server import BaseHTTPRequestHandler
File "D:_Python\lib\http\server.py", line 102, in
import socketserver
File "D:_Forex Projects\python\MetaTraderForecast\socketserver.py", line 71, in
msg = serv.recvmsg()
File "D:_Forex Projects\python\MetaTraderForecast\socketserver.py", line 60, in recvmsg
self.conn.send(bytes(train_test_model(self.cummdata), "utf-8"))
File "D:_Forex Projects\python\MetaTraderForecast\socketserver.py", line 24, in train_test_model
train = build.train(training_set=data[:trainSize], date=date[:trainSize], lr=input_data['LearningRate'], scale=input_data['Scale'], epochs=input_data['Epochs'], momentum=input_data['Momentum'], optimizer=input_data['Optimizer'], file_name=file_name, architecture=input_data['Architecture'])
NameError: name 'build' is not defined
<class 'dict'>

Process finished with exit code 1

``
I get the following errors while running. Thanks for your help!

@StifenJsia
Copy link

i don't get it, how to set those runn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants