Closed hassan-sd closed 5 months ago
It is the problem of accelerate. You can try use python command directly, not using accelerate.
Just change the code of app.py
'accelerate', 'launch', f'{project_dir}/facechain/train_text_to_image_lora.py',
to
'python', f'{project_dir}/facechain/train_text_to_image_lora.py',
![Uploading 1699407642320.png…]()
btw, you should install mmcv-full by pip install mmcv-full on windows.
I was able to get it work by just commentting out that line
# resource.setrlimit(resource.RLIMIT_NOFILE, (soft_limit, hard_limit))
I was able to get it work by just commentting out that line
# resource.setrlimit(resource.RLIMIT_NOFILE, (soft_limit, hard_limit))
Which file? App.py? I ask because there's many with the same name.
Please install mmcv with:
min install mmcv-full==1.7.2
ref: https://mmcv.readthedocs.io/en/latest/get_started/installation.html
One RTX4090 or two RTX4090?
please try out the newest train-free, 10s inference version facechain-fact.
Full output below. Same error whether it is 1 image, 10 images etc.
After I run train, I have this error. Also tried manual installation: