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

Minor issue with imports #447

Open
segatrade opened this issue Jun 14, 2022 · 0 comments
Open

Minor issue with imports #447

segatrade opened this issue Jun 14, 2022 · 0 comments

Comments

@segatrade
Copy link

segatrade commented Jun 14, 2022

from tensortrade.data.cdd import CryptoDataDownload
will load agents even if you don't use them
because tensortrade/__init__.py have: from . import agents
where tensortrade/agents/__init__.py have from .dqn_agent import DQNAgent, DQNTransition etc

Got it with unchecked debugger breakpoint in tensortrade/agents/dqn_agent.py

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

1 participant