different

关于 spyder3 的 Python 代码运行结果不一致

  •  
  •   different · Jun 28, 2019 · 6242 views
    This topic created in 2533 days ago, the information mentioned may be changed or developed.

    同样的代码,在 spyder 里面运行和直接在 Ubuntu 控制台上运行的结果不一致,如下截图 spyder 的控制台:https://i.loli.net/2019/06/28/5d15cc7f0daf243402.png ubuntu 控制台:https://i.loli.net/2019/06/28/5d15cc7fcf86410820.png

    顺便问一句,tensorflow,一直没有使用 GPU 来跑,这是为啥? cuda 版本:10.01 python:3.6.7 tensorflow 1.13.1
    tensorflow-estimator 1.13.0
    tensorflow-gpu 1.13.1 cudnn 7.5 也试过将这些东西重装了一次,还是不行 运行 tensorflow 的时候,一直没有报错,但是把我的显卡内存占用了,却在用 cpu 来跑,GPU(GTX960)利用率为<10% 部分代码: gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.33) with tf.Session(gpu_options=gpu_options,config=tf.ConfigProto(log_device_placement=True)) as sess: sess.run(mymode.global_init) #初始全局节点 郁闷...

    1 replies    2019-06-28 16:24:55 +08:00
    different
        1
    different  
    OP
       Jun 28, 2019
    .......发出来格式就乱了.....
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3180 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 12:37 · PVG 20:37 · LAX 05:37 · JFK 08:37
    ♥ Do have faith in what you're doing.