问题:AttributeError: ‘function‘ object has no attribute ‘inception_v3_arg_scope‘ 求助帖

已解决****求助帖 本人用自己数据集训练Googlenet_inception_v3遇到如下问题。
不知如何是好,请问有大佬帮帮忙看看吗?报错信息以及涉错区域已提供。

报错信息如下

AttributeError: 'function' object has no attribute 'inception_v3_arg_scope'

根据学习别人的文章本人发现原理是 import那里出问题了,所以我把import那里添加/改成以下这句就解决报错了哦。

from slim.nets import inception_v3 as inception_v3

希望对各位有帮助



以下是我一开始遇到的报错信息的原文,给大家提供参考。

Tensorflow version:1.13.1
WARNING:tensorflow:From D:\ORANGE_I_CAN\the_first_retry\create_tf_record.py:27: tf_record_iterator (from tensorflow.python.lib.io.tf_record) is deprecated and will be removed in a future version.
Instructions for updating:
Use eager execution and: 
`tf.data.TFRecordDataset(path)`
train nums:420,val nums:127
WARNING:tensorflow:From D:\ORANGE_I_CAN\the_first_retry\create_tf_record.py:138: string_input_producer (from tensorflow.python.training.input) is deprecated and will be removed in a future version.
Instructions for updating:
Queue-based input pipelines have been replaced by `tf.data`. Use `tf.data.Dataset.from_tensor_slices(string_tensor).shuffle(tf.shape(input_tensor, out_type=tf.int64)[0]).repeat(num_epochs
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值