• 377943299

    为什么我在做自然语言处理的时候,242-243代码,做出来的结果老是显示这个错误呢:
    Variable language_model/embedding already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
    有什么办法可以解决么

    377943299发表于 2018/5/15 15:30:37
    • 孙奇俏

      作者的回复如下:我用tensorflow 1.4和1.8都试了,程序没问题。建议读者检查一下tensorflow版本,看是不是因为版本太老…

      孙奇俏发表于 2018/6/27 14:48:47
  • thubofu

    第六章 6.5.2迁移学习部分,在将原始的RGB图片整理成模型需要的输入数据的时候。随着运行时间的增加,处理速度越来越慢,最终造成内存不够。这种情况下,在网上搜索猜测应该是再循环中不停的加入新的节点导致,请问一下该如何避免呢?

    thubofu发表于 2018/5/6 23:43:28
    • 孙奇俏

      作者暂时没有遇到过这类问题,请问一下,您是内存爆了,还是显存爆了?

      孙奇俏发表于 2018/5/31 11:01:51
  • mandagod

    pip安装完成之后, 有如下错误有什么方法解决?

    sess = tf.Session()
    2018-04-19 13:41:30.534207: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 **X **X2 FMA
    2018-04-19 13:41:30.845724: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
    2018-04-19 13:41:30.846218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
    name: GeForce GT 730M major: 3 minor: 5 memoryClockRate(GHz): 0.758
    pciBusID: 0000:02:00.0
    totalMemory: 983.44MiB freeMemory: 809.19MiB
    2018-04-19 13:41:30.846244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GT 730M, pci bus id: 0000:02:00.0, compute capability: 3.5)

    mandagod发表于 2018/4/19 14:40:11
  • 远方

    GitHub里的代码和数据如何下载?

    远方发表于 2018/4/15 21:21:04
    • 孙奇俏

      图书前言有一个“读者服务”部分,里面有二维码,扫那个二维码,可以下载

      孙奇俏发表于 2018/4/16 9:43:23
    • mandagod

      git clone https://github.com/caicloud/tensorflow-tutorial.git

      mandagod发表于 2018/4/19 14:42:29
  • xclover

    请问书中所配图片可以提供下载吗?

    xclover发表于 2018/4/11 9:52:41
    • 孙奇俏

      您好,暂时没有提供下载图片的功能。我可以问问作者,是否可以提供,如可以,再给您回复。

      孙奇俏发表于 2018/4/16 9:44:27
    • chuxia911

      @孙奇俏 您好!作者是否提供了书中所配图片的下载方式呢?

      chuxia911发表于 2018/6/30 22:00:15
    • 孙奇俏

      @chuxia911 您好,没有提供图片下载,抱歉

      孙奇俏发表于 2018/8/22 14:53:30
  • 1
  • ...
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22