Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks! I won't try the colab just yet, as I think it would be fun if I could locally run this.

I'm now getting different error messages by installing cmake (brew install cmake) before the manual install - it still looks like some odd error caused by Onnx, which is also why the manual install is failing - "fatal: not a git repository (or any of the parent directories): .git" whilst installing onnx.

The Docker solution failing is weird, containers are meant to be hermetic and deterministic, maybe an upstream change broke something..., but given the Docker install error messages and the fact Onnx is a large-scale project I fail to see how that's the case either.

I'll continue to debug and update the top comment if I resolve it :)



Thank you so much for your patience! You experience will definitely help me make this project compatible to the m1 chip systems XD!

And since ONNX is not a forced requirement, maybe the following guides can make things easier:

1. Install `carefree-learn` instead of `carefree-learn[cv]`

2. Install the following packages manually:

ftfy regex lmdb albumentations carefree-cv

> I'll consider removing the `onnx` requirements from the `cv` spec in the near future!


Ah! That seems to have done it. Thank you for your help - ! I'm still downloading the models but I expect it'll work fine on the m1 chip ...

The installation steps are as follows:

$ git clone https://github.com/carefree0910/carefree-creator

$ cd carefree-creator

$ pip3 install carefree-client carefree-learn carefree-cv ftfy regex lmdb albumentations kafka-python redis[hiredis] cos-python-sdk-v5 uvicorn torchvision

$ python3 -m uvicorn apis.interface:app --host 0.0.0.0 --port 8123


Coooool! And yes, I'm not sure whether the models can run on the m1 chip, but I think this is more of a PyTorch issue instead of this project XD.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: