-
Notifications
You must be signed in to change notification settings - Fork 295
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
Tensorflow import Error #4645
Comments
Thanks for the bug. This sounds like importing tensorflow caused the kernel to crash. Are you using pytorch? That might be the issue if you don't install it according to pytorch's directions? Not really an expert on tensorflow or pytorch though. |
@MayaSakaguchi617 Please could you enable logging as follows:
@rchiodo would be good to see what errors are returned by kernel, this way when it happens in the future we can proactively ask user from extension to re-install pytorch with some instructions (ie. prevent user from having to report an issue - i.e. provide a way for them to resolve it at their end then and there...). |
I really appreciate your advice. Since I couldn't find Jupiter->Logging, ---Result--- OUTPUT |
Your python example indicates that tensorflow crashes without using VS code. Sounds like a tensorflow bug. I believe this is the sort of thing that happens if you don't install pytorch using the directions (I had something similar happen to me). Or it could be that tensorflow isn't supported on your chip yet either. See this issue here: |
@DonJayamanne Thanks for kind instruction. I've just run the first line: import tensorflow as tf |
Please reopen this bug (or file in the tensorflow repo) if the above advice doesn't resolve your issue. Thanks! |
Issue Type: Bug
Tensorflow is already installed.
Extension version: 2020.12.414227025
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)
OS version: Darwin x64 20.3.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: