标签:目的 one import 根目录 WAD lazy 参考 isa mic
前提:代理选“德国”,稳定一点 ~
from google.colab import drive drive.mount(‘/content/drive‘)
import os os.chdir("/content/drive/My Drive") !ls
!git clone https://github.com/wadayama/TISTA.git
!ls
cd TISTA/
!ls
%tensorflow_version 1.1 import tensorflow print(tensorflow.__version__)
!python main.py
!invidia-smi #查看GPU
import tensorflow as tf #-----修改为↓↓↓↓↓↓↓↓↓ import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
参考:
https://blog.csdn.net/tan123456987321/article/details/104777049
colab+git clone+Google drive提速: https://blog.csdn.net/qq_42698608/article/details/104793387
标签:目的 one import 根目录 WAD lazy 参考 isa mic
原文地址:https://www.cnblogs.com/HuangYJ/p/13362945.html