安装tensorflow虚拟环境

  1. conda create -n tf2-2 python=3.7
  2. conda activate tf2-2
  3. pip install tensorflow==2.2.0
  4. pip install keras==2.3.1