[Guide] macOS Install Guide: Installer Method

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

User avatar
Mawkins
Posts: 4
Joined: Sun May 12, 2024 4:03 pm

Re: [Guide] macOS Install Guide: Installer Method

Post by Mawkins »

Hi torzdf,

here is the faceswap_setup.log file:

Thanks again
M :)

User avatar
Mawkins
Posts: 4
Joined: Sun May 12, 2024 4:03 pm

Re: [Guide] macOS Install Guide: Installer Method

Post by Mawkins »

Also if you could please advise what I should do now, I would very much appreciate it, should I install the Tensorflow plugin somehow?

User avatar
torzdf
Posts: 2761
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 141 times
Been thanked: 643 times

Re: [Guide] macOS Install Guide: Installer Method

Post by torzdf »

I do not know why it did not install, it definitely should have. The following should get it working for you.

Open up a terminal and enter the following:

Code: Select all

conda activate faceswap
pip install tensorflow-metal==0.6.0 decorator cloudpickle

(Those last 2 also did not install for you, but there is no output in the log as to why this failed. Hopefully it was a temporary network issue)

Last edited by torzdf on Thu May 16, 2024 10:41 am, edited 1 time in total.

My word is final

User avatar
kasuo
Posts: 1
Joined: Sun Nov 10, 2024 9:32 am

Re: [Guide] macOS Install Guide: Installer Method

Post by kasuo »

Code: Select all

(faceswap)  python3 faceswap.py gui

Setting Faceswap backend to APPLE_SILICON
Traceback (most recent call last):
  File "/Users/qiasuo/faceswap/faceswap.py", line 12, in <module>
    from lib.cli import args as cli_args  # pylint:disable=wrong-import-position
  File "/Users/qiasuo/faceswap/lib/cli/args.py", line 19, in <module>
    _GPUS = GPUStats().cli_devices
  File "/Users/qiasuo/faceswap/lib/gpu_stats/apple_silicon.py", line 40, in __init__
    super().__init__(log=log)
  File "/Users/qiasuo/faceswap/lib/gpu_stats/_base.py", line 95, in __init__
    self._initialize()
  File "/Users/qiasuo/faceswap/lib/gpu_stats/apple_silicon.py", line 52, in _initialize
    self._initialize_metal()
  File "/Users/qiasuo/faceswap/lib/gpu_stats/apple_silicon.py", line 77, in _initialize_metal
    self._test_tensorflow()
  File "/Users/qiasuo/faceswap/lib/gpu_stats/apple_silicon.py", line 90, in _test_tensorflow
    meminfo = tf.config.experimental.get_memory_info('GPU:0')
AttributeError: module 'tensorflow' has no attribute 'config'
(faceswap) qiasuo@kasuos-MacBook-Pro faceswap % pip show tensorflow
Last edited by torzdf on Sat Nov 16, 2024 3:50 am, edited 1 time in total.
User avatar
torzdf
Posts: 2761
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 141 times
Been thanked: 643 times

Re: [Guide] macOS Install Guide: Installer Method

Post by torzdf »

Please enter your faceswap environment and post the output of

Code: Select all

conda list

My word is final

Post Reply