Closed theautomation closed 1 year ago
FYI #1830 seems to be fixing this issue, @theautomation, you might want to resolve when this gets merged.
Can you try to use the image ghcr.io/immich-app/immich-machine-learning:pr-1830
and confirm that it fixes the issue?
Yes, fixed in that image!
~$ kubectl logs immich-machine-learning-5cb5d9f554-b2df2 -c immich-machine-learning
Downloading (…)lve/main/config.json: 100%|██████████| 69.6k/69.6k [00:00<00:00, 318kB/s]
Downloading (…)"pytorch_model.bin";: 100%|██████████| 103M/103M [00:02<00:00, 39.7MB/s]
Downloading (…)rocessor_config.json: 100%|██████████| 266/266 [00:00<00:00, 297kB/s]
/opt/venv/lib/python3.10/site-packages/transformers/models/convnext/feature_extraction_convnext.py:28: FutureWarning: The class ConvNextFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use ConvNextImageProcessor instead.
warnings.warn(
Downloading (…)lve/main/config.json: 100%|██████████| 4.13k/4.13k [00:00<00:00, 5.34MB/s]
Downloading (…)"pytorch_model.bin";: 100%|██████████| 26.0M/26.0M [00:00<00:00, 39.6MB/s]
Downloading (…)rocessor_config.json: 100%|██████████| 275/275 [00:00<00:00, 340kB/s]
/opt/venv/lib/python3.10/site-packages/transformers/models/yolos/feature_extraction_yolos.py:28: FutureWarning: The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use YolosImageProcessor instead.
warnings.warn(
/opt/venv/lib/python3.10/site-packages/transformers/models/yolos/image_processing_yolos.py:704: FutureWarning: The `max_size` parameter is deprecated and will be removed in v4.26. Please specify in `size['longest_edge'] instead`.
warnings.warn(
* Serving Flask app 'main'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:3003
* Running on http://10.42.0.191:3003
Press CTRL+C to quit
Good! I will push this image in the next release
The bug
Hi, when upgrading to v1.48.0 the immich-machine-learning pod crashes on startup due to an error. Log:
ModuleNotFoundError: No module named 'flask'
Log:
The OS that Immich Server is running on
Ubuntu server 22.04 - K3s
Version of Immich Server
v1.48.0
Version of Immich Mobile App
v1.48.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response