Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • PaddleSlim
  • Issue
  • #394

P
PaddleSlim
  • 项目概览

PaddlePaddle / PaddleSlim
大约 2 年 前同步成功

通知 51
Star 1434
Fork 344
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 53
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 16
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
PaddleSlim
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 53
    • Issue 53
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 16
    • 合并请求 16
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 7月 22, 2020 by saxon_zh@saxon_zhGuest

AttributeError: 'Teacher' object has no attribute '_manager'

Created by: Dabulv

环境

paddlepaddle-gpu 1.8.1.post97 paddleslim 1.1.1

命令

CUDA_VISIBLE_DEVICES=0 python -u run_teacher1.py --use_cuda true --out_port 8080

报错信息

2020-07-22 22:11:36,723-WARNING: If you want to use training-aware and post-training quantization, please use Paddle >= 2.0.0 or develop version python3.6.8/lib/python3.6/site-packages/paddle/fluid/executor.py:1093: UserWarning: There are no operators in the program to be executed. If you pass Program manually, please use fluid.program_guard to ensure the current Program is being used. warnings.warn(error_info) W0722 22:11:36.740073 1295 device_context.cc:252] Please NOTE: device: 0, CUDA Capability: 35, Driver API Version: 9.0, Runtime API Version: 9.0 W0722 22:11:36.744243 1295 device_context.cc:260] device: 0, cuDNN Version: 7.0. W0722 22:11:38.036867 1295 device_context.h:155] WARNING: device: 0. The installed Paddle is compiled with CUDNN 7.3, but CUDNN version in your machine is 7.0, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version. Process BaseManager-1: Traceback (most recent call last): File "python3.6.8/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "python3.6.8/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "python3.6.8/lib/python3.6/multiprocessing/managers.py", line 539, in _run_server server = cls._Server(registry, address, authkey, serializer) File "python3.6.8/lib/python3.6/multiprocessing/managers.py", line 139, in init self.listener = Listener(address=address, backlog=16) File "python3.6.8/lib/python3.6/multiprocessing/connection.py", line 438, in init self._listener = SocketListener(address, family, backlog) File "python3.6.8/lib/python3.6/multiprocessing/connection.py", line 576, in init self._socket.bind(address) OSError: [Errno 98] Address already in use Traceback (most recent call last): File "run_teacher1.py", line 81, in run(args) File "run_teacher1.py", line 42, in run teacher.start() File "github/PaddleSlim/paddleslim/pantheon/teacher.py", line 233, in start self._manager = self._start_manager() if self._out_port else None File "github/PaddleSlim/paddleslim/pantheon/teacher.py", line 219, in _start_manager manager.start() File "/python3.6.8/lib/python3.6/multiprocessing/managers.py", line 517, in start self._address = reader.recv() File "python3.6.8/lib/python3.6/multiprocessing/connection.py", line 250, in recv buf = self._recv_bytes() File "python3.6.8/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes buf = self._recv(4) File "python3.6.8/lib/python3.6/multiprocessing/connection.py", line 383, in _recv raise EOFError EOFError Exception ignored in: <bound method Teacher.del of <paddleslim.pantheon.teacher.Teacher object at 0x7f094e5f9b38>> Traceback (most recent call last): File "github/PaddleSlim/paddleslim/pantheon/teacher.py", line 661, in del if self._manager: AttributeError: 'Teacher' object has no attribute '_manager'

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/PaddleSlim#394
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7