HypoX64 / DeepMosaics

Automatically remove the mosaics in images and videos, or add mosaics to them.
GNU General Public License v3.0
2.08k stars 435 forks source link

Error on Cleaning Mosaics on Mac M1 Pro #85

Open leowongco opened 2 years ago

leowongco commented 2 years ago

I have issues when trying CLI method to clean Mosaics with 14" MacBook Pro (M1 Pro CPU), any clue to solved? Thanks.

--------------------ERROR--------------------
--------------Environment--------------
DeepMosaics: 0.5.1
Python: 3.9.8 (main, Nov 10 2021, 03:48:35) 
[Clang 13.0.0 (clang-1300.0.29.3)]
Pytorch: 1.10.0
OpenCV: 4.5.4
Platform: macOS-12.0.1-arm64-arm-64bit
--------------BUG--------------
Error Type: <class 'NotImplementedError'>

<FrameSummary file /Users/leowong/DeepMosaics/deepmosaic.py, line 77 in <module>>
<FrameSummary file /Users/leowong/DeepMosaics/deepmosaic.py, line 51 in main>
<FrameSummary file /Users/leowong/DeepMosaics/cores/clean.py, line 211 in cleanmosaic_video_fusion>
<FrameSummary file /opt/homebrew/Cellar/python@3.9/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py, line 126 in qsize>
Please press any key to exit.
leowongco commented 2 years ago

found that there will be error on preview solved by adding --no_preview