3 ms·
FastAPI creator here. If you've used FastAPI you'll probably like Thinc. It uses Python type hints extensively and even includes a Mypy plugin. So, you'll get
by tiangolo 7y ago
FastAPI creator here.
If you've used FastAPI you'll probably like Thinc.
It uses Python type hints extensively and even includes a Mypy plugin. So, you'll get nice and clear errors right in your editor for many operations that before were Numpy/Tensor "black magic". All before even running your code.
And you can wrap TensorFlow, PyTorch, and MXNet with it, mix them with Thinc layers, etc.
- amrrs 7y agoJust for clarification, is it like a Keras replacement?
- yzh 7y agoBut Keras does not support PyTorch or MXNet. I think the design of Model, Block, and Layer like this is very intuitive and shared among several frameworks. I wish it could have multi-GPU/multi-node training capability (i.e. support horovod or gloo).