-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Thank you for the great project.
3Tips for users of the pretrained models.
Tips0
Installation method that worked successfully
git clone https://github.com/hukenovs/easyportrait.git
cd easyportrait/pipelines/
pip install torch==1.13.1 torchvision==0.14.1
pip install -U openmim
mim install mmengine
mim install mmcv==1.7.1
mim install mmcv-full==1.7.1
pip install mmsegmentation==0.30.0
pip install ftfyTips1:
If you change line 281 of formatting.py, it will run smoothly.
# img_meta[key] = results[key]
img_meta[key] = results.get(key,None)Tips2:
When plotting the results, set palette to None to plot the results.
show_result_pyplot(
model,
img,
result,
None,
opacity=1,
out_file=out)
Swift/iOS version
I converted segformer512fp to Core ML ( Swift / iOS format ).
https://github.com/john-rocky/easyportrait-coreml
And made Swift demo.
https://github.com/john-rocky/CoreML-Models?tab=readme-ov-file#easyportrait
Thanks again!
YJ35, hradec, Nn0wk, junhwanjang, Luca-Wiehe and 3 morehradec
Metadata
Metadata
Assignees
Labels
No labels
