Giter Site home page Giter Site logo

kazuhito00 / animeganv2-onnx-sample Goto Github PK

View Code? Open in Web Editor NEW
63.0 63.0 12.0 8.63 MB

「PyTorch Implementation of AnimeGANv2」のPythonでのONNX推論サンプル

License: MIT License

Jupyter Notebook 99.66% Python 0.34%
animeganv2 colaboratory onnx onnxruntime-gpu pytorch

animeganv2-onnx-sample's Introduction

GithubHeader

Github Trophy

trophy

About Me

  • 名古屋で組込みエンジニア(C/C++)をしていました。
    I was an embedded engineer(C/C++) in Japan Aichi Nagoya.
  • 最近は画像処理(C++/Python)、Web(Azure/AWS/SFDC)やIoTの仕事もしています。
    Recently I've been working on image processing(C++/Python), Web Application(Azure/AWS/SFDC) and IoT.
  • 機械学習やKaggle勉強中(🥉×2)です。
    Currently studying machine learning and Kaggle(🥉×2)
  • 物体検出やセマンティックセグメンテーションに興味があります。
    I am interested in ObjectDetection and SemanticSegmentation

Works

リポジトリ一覧、寄稿等は「WORKS.md」を参照ください。
※画像を多く使用しており通信量が多くなる懸念があるため、モバイル回線や通信料従量制の方はご注意ください
 また、サムネイルの画像が小さいため、PCでの閲覧を推奨しています
Please refer to "WORKS.md" for the list of repositories and contributions.
Because many images are used and there is a concern that the amount of communication will increase,
please be careful if you are using a mobile line or a pay-as-you-go communication system.
Also, since the thumbnail image is small, we recommend viewing it on a PC.

Gitstar Ranking

Gitstar Ranking(Kazuhito00)」にてスター数の多いリポジトリが確認できます。
You can check repositories with many stars on "Gitstar Ranking(Kazuhito00)".

Recent Blog Posts

How to reach me

何かご相談の際には、TwitterのDMから連絡をお願いします。
If you have any questions, please contact us via Twitter DM.

SNS


Buy Me A Coffee

Technologies

My Qiita posts

GithubHeader2

animeganv2-onnx-sample's People

Contributors

kazuhito00 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

animeganv2-onnx-sample's Issues

runtimeerror

runs fine in colab but get this error running on a huggingface space

Traceback (most recent call last):
File "app.py", line 7, in
onnx_session = onnxruntime.InferenceSession("/home/user/app/face_paint_512_v2_0.onnx")
File "/home/user/.local/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 324, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "/home/user/.local/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 358, in _create_inference_session
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
RuntimeError: /onnxruntime_src/onnxruntime/core/platform/posix/env.cc:173 onnxruntime::{anonymous}::PosixThread::PosixThread(const char*, int, unsigned int ()(int, Eigen::ThreadPoolInterface), Eigen::ThreadPoolInterface*, const onnxruntime::ThreadOptions&) pthread_setaffinity_np failed, error code: 0 error msg:

resize aspect ratio

currently the image resizing is making the images squished if it is not 1:1 already

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.