0

im fairly new to TensorFlow but type hints taking forever to popup are kinda getting on my nerves now so I was curious if anybody knew any fixes.

while using TensorFlow 2.0 in vscode jupyter notebook the intellisense dropdown takes up to 2 seconds to actually appear. this only happens when I import TensorFlow, so no other library slows down my IntelliSense.

im on a Mac intel chip for reference. not the fastest machine but still.

  • restarting everything
  • updating tensorflow

using these two imports seemed to help a bit

from tensorflow.keras.layers import Dense, Flatten, Conv2D
from tensorflow.keras import Model

1 Answers1

0

This what i recommend you is to start over with tensorflow with Jupyter notebook with specific virtual environment created on anaconda. Just for that purpose using tensorflow 2.0.

Here is detailed link to instructions:

Anaconda installs TensorFlow 1.15 instead of 2.0

Nkifor
  • 38
  • 1
  • 4
  • 1
    ive been reading online a bit more and your answer is the general consensus. which sucks cuz I don't really use anaconda.... but hey guess im just ganna use it now :D. thanks! – Muhammed Yilmaz Feb 17 '23 at 00:17