Giter VIP home page Giter VIP logo

paddle-image-models's Issues

无法引入ppim


AttributeError Traceback (most recent call last)
in
1 import paddle
----> 2 from ppim import rednet_26
3
4 # 使用 PPIM whl 包加载模型
5 model, val_transforms = rednet_26(pretrained=True, return_transforms=True)

~.conda\envs\paddle\lib\site-packages\ppim_init_.py in
----> 1 import ppim.models as models
2
3 from ppim.models import *
4 from inspect import isfunction, isclass
5

~.conda\envs\paddle\lib\site-packages\ppim\models_init_.py in
3 from ppim.models.tnt import tnt_s, TNT
4 from ppim.models.t2t import t2t_vit_7, t2t_vit_10, t2t_vit_12, t2t_vit_14, t2t_vit_19, t2t_vit_24, t2t_vit_t_14, t2t_vit_t_19, t2t_vit_t_24, t2t_vit_14_384, t2t_vit_24_token_labeling
----> 5 from ppim.models.pvt import pvt_ti, pvt_s, pvt_m, pvt_l, PyramidVisionTransformer
6 from ppim.models.pit import pit_ti, pit_s, pit_xs, pit_b, pit_ti_distilled, pit_s_distilled, pit_xs_distilled, pit_b_distilled, PoolingTransformer, DistilledPoolingTransformer
7 from ppim.models.coat import coat_ti, coat_m, coat_lite_ti, coat_lite_m, CoaT

~.conda\envs\paddle\lib\site-packages\ppim\models\pvt.py in
5 import paddle.vision.transforms as T
6
----> 7 import ppim.models.vit as vit
8
9 from ppim.models.common import add_parameter, load_model

AttributeError: module 'ppim' has no attribute 'models'

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.