Coder Social home page Coder Social logo

lmk123568 / paddle_model_analysis Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 1.02 MB

【瑞士军刀般的工具】用最短的代码完成对模型的分析,包含 ImageNet Val、FLOPs、Params、Throuthput、CAM 等

Home Page: https://aistudio.baidu.com/aistudio/projectdetail/2143665

License: MIT License

Python 100.00%
paddlepaddle performance-analysis class-activation-maps throughput flops parameters imagenet-classifier

paddle_model_analysis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wstchhwp hanrui56

paddle_model_analysis's Issues

CAM 结果

我调用训练好的Mobile netv3分类模型
target_layer = model.lastconv[-1]
每次热力图结果不一致,博主知道是什么原因导致的吗?
同模型同一张图像

> ValueError: (InvalidArgument) `is_test = True` CANNOT be used in train program. If you want to use global status in pre_train model, please set `use_global_stats = True` [Hint: Expected is_test == false, but received is_test:1 != false:0.] (at /paddle/paddle/fluid/operators/batch_norm_op.cu:531) 大佬,这个错误怎么解决,求指教

          > ValueError: (InvalidArgument) `is_test = True` CANNOT be used in train program. If you want to use global status in pre_train model, please set `use_global_stats = True` [Hint: Expected is_test == false, but received is_test:1 != false:0.] (at /paddle/paddle/fluid/operators/batch_norm_op.cu:531) 大佬,这个错误怎么解决,求指教

目前这个对 resnet 有效,你这个啥网络

Originally posted by @lmk123568 in #1 (comment)

ValueError: (InvalidArgument)

ValueError: (InvalidArgument) is_test = True CANNOT be used in train program. If you want to use global status in pre_train model, please set use_global_stats = True
[Hint: Expected is_test == false, but received is_test:1 != false:0.] (at /paddle/paddle/fluid/operators/batch_norm_op.cu:531)
大佬,这个错误怎么解决,求指教

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.