GithubHelp home page GithubHelp logo

katagoonnx's People

Contributors

isty2e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

realtaki

katagoonnx's Issues

Failed to convert ONNX to CoreML

Thanks for sharing this converter, I'm trying to convert katago model to coreml as quite a few people doing now.

I can use the converter in this repo to convert Katago bin file to ONNX and it could be loaded successully in pytorch.

However,

  • I'm not sure how to validate the converting is successful or not
  • converting the onnx model to coreml using coreml 4.0 raising this exception
1/284: Converting Node Type Slice
Traceback (most recent call last):
  File "convert.py", line 12, in <module>
    new_model = ct.converters.onnx.convert(model)
  File "/Users/huangyiming/opt/miniconda3/envs/katago/lib/python3.7/site-packages/coremltools/converters/onnx/_converter.py", line 743, in convert
    _convert_node(builder, node, graph, err)
  File "/Users/huangyiming/opt/miniconda3/envs/katago/lib/python3.7/site-packages/coremltools/converters/onnx/_operators.py", line 2670, in _convert_node
    return converter_fn(builder, node, graph, err)
  File "/Users/huangyiming/opt/miniconda3/envs/katago/lib/python3.7/site-packages/coremltools/converters/onnx/_operators.py", line 1909, in _convert_slice
    starts = node.attrs["starts"]
KeyError: 'starts'

I know this might be an issue with coreml converter, is there any direction to look for ? is it because of Katago model version v8 vs v10?

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.