python framework is detected_ImportError:无法从'tensorflow.python.framework'导入名称'device_spec'...

C:\ tensorflow1 \ models \ research \ object_detection> python train.py --logtostderr --train_dir = training / --pipeline_config_path = training / faster_rcnn_inception_v2_pets.config回溯(最近一次调用):文件“ train.py”,第51行从object_detection.builders导入dataset_builder文件“ C:\ tensorflow1 \ models \ research \ object_detection \ builders \ dataset_builder.py”,第33行,从object_detection.builders导入decode_builder文件“ C:\ tensorflow1 \ models \ research \ object_detection \ builders \ decoder_builder.py“,第25行,来自object_detection.data_decoders导入tf_example_decoder文件“ C:\ tensorflow1 \ models \ research \ object_detection \ data_decoders \ tf_example_decoder.py”,第28行,来自tf_slim导入tfexample_decoder为slim_example_decoder C:\ Users \ user \ anaconda3 \ envs \ tensorflow1 \ lib \ site-packages \ tf_slim_初始化_.py” 25行,从tf_slim.layers进口*文件“C:\用户\用户\ anaconda3 \ ENVS \ tensorflow1 \ LIB \站点包\ tf_slim \ layers_初始化_.py” 25行,在从tf_slim.layers.layers导入*文件“ C:\ Users \ user \ anaconda3 \ envs \ tensorflow1 \ lib \ site-packages \ tf_slim \ layers \ layers.py”,第30行,从tf_slim.ops导入变量C:\ Users \ user \ anaconda3 \ envs \ tensorflow1 \ lib \ site-packages \ tf_slim \ ops \ variables.py“,第27行,来自tensorflow.python.framework import device_spec as tf_device ImportError:无法导入名称“ device_spec”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值