huseinzol05 / Stock-Prediction-Models

Gathers machine learning and deep learning models for Stock forecasting including trading bots and simulations
Apache License 2.0
7.69k stars 2.74k forks source link

Agent object has no attribute get_wights #38

Closed prcs closed 4 years ago

prcs commented 5 years ago

Hi! first of all, congratulations for the project! I dont know if im following right the steps. But i've received the error:

Traceback (most recent call last): File "app.py", line 359, in minmax = minmax) File "app.py", line 135, in init self.model.get_weights(), AttributeError: 'Agent' object has no attribute 'get_weights'

I made:

  1. Run agent.ipynb
  2. I made sure it was generated the file .PKL
  3. Run app.py

Thanks

huseinzol05 commented 5 years ago

Really? I will check it.

munkh-erdene commented 4 years ago

Same here.

windowshopr commented 4 years ago

Same here. Any update on this one? Would love to get it going!

huseinzol05 commented 4 years ago

Fixed!

windowshopr commented 4 years ago

Awesome! Can’t wait to try it out tonight. Thanks again for all your work!

windowshopr commented 4 years ago

@huseinzol05 I'm still receiving the same error? :(

EDIT: Cancel that, it seems to be working! Although when I navigate to the mentioned address (http://0.0.0.0:8005/) it says the page cannot be reached? Is this an issue with my Flask version?

EDIT: Scratch that haha seems to be working! Can't wait to figure it out :D Thanks!

huseinzol05 commented 4 years ago

Yep, your flask.