GithubHelp home page GithubHelp logo

Comments (12)

zzjjay avatar zzjjay commented on June 11, 2024

请问是在哪看到调用这个api呢? 代码文件中显示没有该api

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

请问是在哪看到调用这个api呢? 代码文件中显示没有该api

我采用的是paddlpaddle2.6,并且对应的paddleslim也下载了2,6.调用蒸馏的接口deploy/slim/distill/distill_train.py

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

请问是在哪看到调用这个api呢? 代码文件中显示没有该api

我采用的是paddlpaddle2.6,并且对应的paddleslim也下载了2,6.调用蒸馏的接口deploy/slim/distill/distill_train.py

请问是在哪看到调用这个api呢? 代码文件中显示没有该api

在distill_train.py的同级distill_config.py中from paddleslim.dygraph.dist import AdaptorBase

from paddleslim.

zzjjay avatar zzjjay commented on June 11, 2024

deploy/slim/distill/distill_train.py

这是哪个页面的代码?似乎不是PaddleSlim 里的

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

请问是在哪看到调用这个api呢? 代码文件中显示没有该api

Uploading 1.JPG…

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

deploy/slim/distill/distill_train.py

这是哪个页面的代码?似乎不是PaddleS我上传了图片
代码地址https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/deploy/slim/distill/distill_config.py

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

deploy/slim/distill/distill_train.py

这是哪个页面的代码?似乎不是PaddleS我上传了图片 代码地址 https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/deploy/slim/distill/distill_config.py

我是将paddleseg2.9下载到本地进行运行的

from paddleslim.

zzjjay avatar zzjjay commented on June 11, 2024

paddleslim版本不对吧

请按照文档示例将 PaddleSlim 切换到制定commit
https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/docs/deployment/slim/distill/distill_cn.md#21-%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87
image

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

paddleslim版本不对吧

请按照文档示例将 PaddleSlim 切换到制定commit https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.9/docs/deployment/slim/distill/distill_cn.md#21-%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87 image

好的,那我paddlepaddle2.6应该安装那个版本的paddleslim

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

这个问题还是没有解决

from paddleslim.

wangfeiyun avatar wangfeiyun commented on June 11, 2024

我又重新配置了一个虚拟环境,结果出现同样的问题

from paddleslim.

zzjjay avatar zzjjay commented on June 11, 2024

按照文档说明切换指定commit后,在PaddleSlim的目录下 paddleslim/dygraph/dist/distill.py 中 是能找到AdaptorBase的。

请先将之前的PaddleSlim卸载干净,再重新安装指定commit下的PaddleSlim

from paddleslim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.