stock_market_reinforcement_learning icon indicating copy to clipboard operation
stock_market_reinforcement_learning copied to clipboard

ImportError: No module named deeplearning_assistant.model_builder

Open jinpengchina opened this issue 7 years ago • 5 comments

python market_pg.py ./kospi_10.csv pg.h5 Traceback (most recent call last): File "market_pg.py", line 5, in from market_model_builder import MarketPolicyGradientModelBuilder File "/Users/tonylibai/code/python_ai/gym/stock_market_reinforcement_learning/market_model_builder.py", line 1, in from deeplearning_assistant.model_builder import AbstractModelBuilder ImportError: No module named deeplearning_assistant.model_builder

why ???

ImportError: No module named deeplearning_assistant.model_builder

jinpengchina avatar Aug 28 '17 22:08 jinpengchina

I have met with the same question! Ask for help! 

guoguo657 avatar Sep 02 '17 12:09 guoguo657

I encountered the same problem, anyone can help?

hmingkwan avatar Sep 12 '17 07:09 hmingkwan

Clone this repo https://github.com/clxdsjyx/deeplearning_assistant to your repo should help.

TheGU avatar Sep 18 '17 09:09 TheGU

downloaded deeplearning_assistant directory to project directory, still doesn't work try to run python market_pg.py or python market_pg.py ./kospi_10.csv pg.h5 The issue is the same: ImportError: No module named deeplearning_assistant.model_builder

What am I doing wrong?

lemon57 avatar Mar 05 '18 16:03 lemon57

The file to be imported is in the deeplearning_assistant repo that was linked above by @TheGU. The code is trying to use the model_builder.py file included in that repo. However the repo includes the file needed but the import statement is wrong, just delete the "deeplearning_assistant" part leaving only "model_builder", no need to download the extra repo

jorddenn avatar Mar 08 '18 22:03 jorddenn