kartikmadan11 / MetaTraderForecast

RNN based Forecasting App for Meta Trader and similar trading platforms
139 stars 69 forks source link

error in serv.recvmsg() #5

Open Beertje82 opened 4 years ago

Beertje82 commented 4 years ago

`` 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 commented 4 years ago

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