menyifang / DCT-Net

Official implementation of "DCT-Net: Domain-Calibrated Translation for Portrait Stylization", SIGGRAPH 2022 (TOG); Multi-style cartoonization
Apache License 2.0
774 stars 76 forks source link

Error on x64_86 Mac #10

Closed kognat-docs closed 2 years ago

kognat-docs commented 2 years ago
(dctnet) sam@MacBook-Pro DCT-Net % python run_sdk.py
2022-08-11 13:36:00,612 - modelscope - INFO - PyTorch version 1.12.1 Found.
2022-08-11 13:36:00,615 - modelscope - INFO - TensorFlow version 2.9.1 Found.
2022-08-11 13:36:00,615 - modelscope - INFO - Loading ast index from /Users/sam/.cache/modelscope/ast_indexer
2022-08-11 13:36:00,615 - modelscope - INFO - No valid ast index found from /Users/sam/.cache/modelscope/ast_indexer, rebuilding ast index!
2022-08-11 13:36:00,618 - modelscope - INFO - AST-Scaning the path "/Users/sam/opt/anaconda3/envs/dctnet/lib/python3.8/site-packages/modelscope" with the following sub folders ['models', 'metrics', 'pipelines', 'preprocessors', 'task_datasets', 'trainers']
2022-08-11 13:36:06,550 - modelscope - INFO - Scaning done! A number of 177 files indexed! Time consumed 5.93245792388916s
2022-08-11 13:36:06,556 - modelscope - INFO - Loading done! Current index file version is 0.3.4, with md5 25b9fd3171728254b9475e3039bc0155
zsh: illegal hardware instruction  python run_sdk.py
(dctnet) sam@MacBook-Pro DCT-Net % 
menyifang commented 2 years ago

mac machine with M1 chip? seems the compatibility issues of tensorflow on mac M1. refer link