python file does not exist什么意思_npu这个报错是啥意思?

```

W0121 15:58:16.914286 281473204158480 module_wrapper.py:139] From /usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_estimator.py:681: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

WARNING:tensorflow:Warning:job config file does not exist

W0121 15:58:16.915161 281473204158480 npu_common.py:178] Warning:job config file does not exist

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_common.py", line 150, in _read_job_info

with open(file_name, 'r', encoding='UTF-8') as f:

FileNotFoundError: [Errno 2] No such file or directory: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "train.py", line 290, in

tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)

File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/platform/app.py", line 40, in run

_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)

File "/usr/local/lib/python3.7/site-packages/absl/app.py", line 299, in run

_run_main(main, args)

File "/usr/local/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main

sys.exit(main(argv))

File "train.py", line 248, in main

'initial_global_step': FLAGS.initial_global_step

File "/usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_estimator.py", line 378, in __init__

self.__load_job_info(job_start_file)

File "/usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_estimator.py", line 760, in __load_job_info

basic = NPUBasics(job_start_file)

File "/usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_common.py", line 128, in __init__

self._job_info = self._read_job_info(file_name)

File "/usr/local/lib/python3.7/site-packages/npu_bridge/estimator/npu/npu_common.py", line 197, in _read_job_info

if(rank_size.isdigit() is False):

AttributeError: 'int' object has no attribute 'isdigit'

[INFO] IDEDH(57358,python3.7):2021-01-21-15:58:17.630.197 [../../../../../../../../../toolchain/ide/ide-daemon/hdc-common/component/adx_server_manager.cpp:331][tid:57358]>>> waitOver is 1

root@3a0d7f73-97ef-4eeb-afb9-303c93185fe2:/home/xingshaofang/data/tensorflow-deeplab-v3-plus-master# ll

```

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值