axinc-ai / ailia-models Goto Github PK
View Code? Open in Web Editor NEWThe collection of pre-trained, state-of-the-art AI models for ailia SDK
The collection of pre-trained, state-of-the-art AI models for ailia SDK
pytorch_GAN_zoo: facebook researchによるProgressive GAN
recognize_from...
という関数名でメイン関数を書いていたのをモデルにそぐわない場合は変更しておくpixel-link: 画像内の文字のdetection
本家のissue 59の画像と比較してデモの画質がかなり荒いのが気になる.
色塗りを行っている部分・画像の前処理などを重点的に再確認した方が良さそう.
action='store_false'でgrepをしたところ、deeplab、hair_segmentation、lwhumanposeにstore_falseが残っていたので修正する。
Jetsonの場合、Webカメラデバイスとして(448,256)が使用できない。Webカメラとしてはデフォルト解像度で取得して、推論時にリサイズした方が良さそう。
e212b32#diff-cd2c7a727abed0b954278ec78ebff684
ref: https://github.com/sngyo/ailia-models/tree/refactoring/googlenet
ailia.Net に統一したいですね (etlも同様)
どうやらそれなりの精度で実行はできているのですが,少なくとも 本家 PyTorch版とはだいぶ Preprocessが異なっているように見えます.
mobilenet_ssd
を実行している際に発覚したエラーONNX file and Prototxt file are prepared!
env_id: 1
Traceback (most recent call last):
File "mobilenet_ssd.py", line 189, in <module>
main()
File "mobilenet_ssd.py", line 185, in main
recognize_from_image()
File "mobilenet_ssd.py", line 115, in recognize_from_image
algorithm=ailia.DETECTOR_ALGORITHM_SSD, env_id=env_id
AttributeError: module 'ailia' has no attribute 'DETECTOR_ALGORITHM_SSD'
SSR-Net: A Compact Soft Stagewise Regression Network for Age Estimation
VggFace16モデルについて,再現性が取れていないようなのですが,これは ailia.Net()に由来するものなのでしょうか?
(リファクタ後にテストしたところ,再現性が取れない事態が発生し masterブランチでも再現性が取れないことを確認しました)
結果が変わるほどのものではないのですが,「理由がわからず再現性が取れていない」では困るので確認したく issue としました.ailia内部でSEED固定されていない乱数を使う処理などが使用されているのでしょうか.
--- 参考 ---
# 1st
image_a vs image_b = 1.1417997
not same person
image_a vs image_c = 0.71154857
same person
# 2nd
image_a vs image_b = 1.1428267
not same person
image_a vs image_c = 0.7116307
same person
# 3rd
image_a vs image_b = 1.1430397
not same person
image_a vs image_c = 0.7112435
same person
https://github.com/d-li14/mobilenetv3.pytorch
モデルの重みが最新版に更新された
際エクスポート -> update
#92
こちらのPRに関しまして,ライセンスファイルが抜け落ちているように思われます.
DocProj: Miscrosoft's dewarpnet, 後段の露光補正モデルに興味
FCRN-DepthPrediction:Deeper Depth Prediction with Fully Convolutional Residual Networks
pip3 install transformers
を行うと、下記のエラーになる。
Building wheel for tokenizers (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python/bin/python3.7 /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/3j/lgx8w81n5jv4jqm_k9134kbm0000gn/T/tmpu8kxvdn0
cwd: /private/var/folders/3j/lgx8w81n5jv4jqm_k9134kbm0000gn/T/pip-install-be8v20pf/tokenizers
Complete output (36 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/tokenizers
copying tokenizers/__init__.py -> build/lib/tokenizers
creating build/lib/tokenizers/models
copying tokenizers/models/__init__.py -> build/lib/tokenizers/models
creating build/lib/tokenizers/decoders
copying tokenizers/decoders/__init__.py -> build/lib/tokenizers/decoders
creating build/lib/tokenizers/normalizers
copying tokenizers/normalizers/__init__.py -> build/lib/tokenizers/normalizers
creating build/lib/tokenizers/pre_tokenizers
copying tokenizers/pre_tokenizers/__init__.py -> build/lib/tokenizers/pre_tokenizers
creating build/lib/tokenizers/processors
copying tokenizers/processors/__init__.py -> build/lib/tokenizers/processors
creating build/lib/tokenizers/trainers
copying tokenizers/trainers/__init__.py -> build/lib/tokenizers/trainers
creating build/lib/tokenizers/implementations
copying tokenizers/implementations/byte_level_bpe.py -> build/lib/tokenizers/implementations
copying tokenizers/implementations/sentencepiece_bpe.py -> build/lib/tokenizers/implementations
copying tokenizers/implementations/base_tokenizer.py -> build/lib/tokenizers/implementations
copying tokenizers/implementations/__init__.py -> build/lib/tokenizers/implementations
copying tokenizers/implementations/char_level_bpe.py -> build/lib/tokenizers/implementations
copying tokenizers/implementations/bert_wordpiece.py -> build/lib/tokenizers/implementations
copying tokenizers/__init__.pyi -> build/lib/tokenizers
copying tokenizers/models/__init__.pyi -> build/lib/tokenizers/models
copying tokenizers/decoders/__init__.pyi -> build/lib/tokenizers/decoders
copying tokenizers/normalizers/__init__.pyi -> build/lib/tokenizers/normalizers
copying tokenizers/pre_tokenizers/__init__.pyi -> build/lib/tokenizers/pre_tokenizers
copying tokenizers/processors/__init__.pyi -> build/lib/tokenizers/processors
copying tokenizers/trainers/__init__.pyi -> build/lib/tokenizers/trainers
running build_ext
running build_rust
error: Can not find Rust compiler
----------------------------------------
ERROR: Failed building wheel for tokenizers
Running setup.py clean for tokenizers
Failed to build tokenizers
Building wheels for collected packages: boto3
Building wheel for boto3 (setup.py) ... done
Created wheel for boto3: filename=boto3-1.12.31-py2.py3-none-any.whl size=127531 sha256=99c005f0c0e8771ff453c7d1bc6ecfba0173f75f93668e3a335980ec2e030403
Stored in directory: /Users/kyakuno/Library/Caches/pip/wheels/70/e6/59/23d4914b0d95e4d934ff3e7f8f84e529804340095fa8a59494
Successfully built boto3
ERROR: Could not build wheels for tokenizers which use PEP 517 and cannot be installed directly
こちらに関連したエラーである気がしているが,MacOS上で pdresnet152をモデルとして動かそうとすると出力がNanになってしまう.(linux上では動作確認済み)
他のモデルはとりあえず問題なさそうなのでデフォルトモデルを変更して対応 & READMEに注意書き記載で対応します
Deep Sort: Simple Online and Realtime Tracking with a Deep Association Metric
Hand Pose Estimation: keras version of Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields (openpose) and tensorflow version of Convolutional Pose Machines (cpm).
net.predict()
が全体に有効になった時点で(?)一旦全モデルをrefactorしようと思います.utils.py
とメインスクリプトに分けても大丈夫か (load_image
など)大きく2通りの手法が考えられる
Now -i option is used for video input.
For consistency, please change to -v option.
InsightFace: 2D and 3D Face Analysis Project (third-party re-implementation on PyToorch, TensorFlow, Caffe is available)
トップページが地味なので、有名かつ魅力的なあたらしめのモデルの動作イメージを縮小して数枚配置したいと思います。
I have tried HRNet_segmentation from ailia_models but when i'd run the below command to get the output for sample image I got the following error.
command - python3 hrnet_segmentation.py
error -
Traceback (most recent call last):
File "hrnet_segmentation.py", line 8, in
import ailia
ModuleNotFoundError: No module named 'ailia'
I have tried to find the ailia module but I didn't get where it is placed, so could you please help me with the solution for this?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.