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

如何处理d2l中的jupyter魔术命令? #3

Open
bjzhb666 opened this issue Apr 2, 2022 · 1 comment
Open

如何处理d2l中的jupyter魔术命令? #3

bjzhb666 opened this issue Apr 2, 2022 · 1 comment

Comments

@bjzhb666
Copy link

bjzhb666 commented Apr 2, 2022

你好,我想在pycharm中使用d2l包(pytorch版)进行开发,但是由于目前直接pip下来的是适用于jupyter的,有一些魔术命令无法运行,有什么解决办法吗?十分感谢,例如:d2l/torch中有from matplotlib_inline import backend_inline这个命令,想请教下是如何处理的

@bjzhb666
Copy link
Author

bjzhb666 commented Apr 2, 2022

直接pip install matplotlib_inline 就可以了,但是还要在源程序(不是d2l的包里面写)d2l.plt.show()

@bjzhb666 bjzhb666 closed this as completed Apr 2, 2022
@bjzhb666 bjzhb666 reopened this Apr 2, 2022
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