Replies: 1 comment
-
To everyone trying to help: Have a look at the original post first. There's no point in opening a new thread for the same problem (it's actually counterproductive for solving your issue, since it doesn't show that you had errors when installing roop-unleashed, or what has been suggested already). Neither is trying to run roop-unleashed and post its error output, when the installing process produced errors. Of course it won't work, when needed components aren't installed properly or have been deleted. Anyway, there are some additional things that came to mind regarding your issue:
What about cudnn? And what was your installation order? The only working order for me was this: 1. visual studio with c++ package, 2. cuda toolkit and cudnn (restart afterwards), 3. roop-unleashed (installed without errors, not stuck anywhere). Here's what I have installed in build tools, in case you want to compare: 2 other things you could try:
Tested it myself 5 minutes ago with the windows_run.bat installer. Installation finished without problems and swapping process is working just fine. If the installer produces errors again, it's an issue with the needed components, not with roop-unleashed or it's installer. Finally, in your original post, you had special characters in your filename (한솜비). Clean those up before adding the files. |
Beta Was this translation helpful? Give feedback.
-
log:
Processing: 0%| | 0/33329 [00:00<?, ?frames/s]
Traceback (most recent call last):
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\queueing.py", line 388, in call_prediction
output = await route_utils.call_process_api(
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api
output = await app.get_blocks().process_api(
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\blocks.py", line 1437, in process_api
result = await self.call_function(
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\blocks.py", line 1123, in call_function
prediction = await utils.async_iteration(iterator)
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\utils.py", line 503, in async_iteration
return await iterator.anext()
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\utils.py", line 496, in anext
return await anyio.to_thread.run_sync(
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\utils.py", line 479, in run_sync_iterator_async
return next(iterator)
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\gradio\utils.py", line 629, in gen_wrapper
yield from f(*args, **kwargs)
File "E:\roop-unleashed\installer\roop-unleashed\ui\tabs\faceswap_tab.py", line 503, in start_swap
batch_process(list_files_process, use_clip, clip_text, processing_method == "In-Memory processing", progress)
File "E:\roop-unleashed\installer\roop-unleashed\roop\core.py", line 302, in batch_process
process_mgr.run_batch_inmem(v.filename, v.finalname, v.startframe, v.endframe, fps,roop.globals.execution_threads, skip_audio)
File "E:\roop-unleashed\installer\roop-unleashed\roop\ProcessMgr.py", line 226, in run_batch_inmem
future.result()
File "E:\roop-unleashed\installer\installer_files\env\lib\concurrent\futures_base.py", line 451, in result
return self.__get_result()
File "E:\roop-unleashed\installer\installer_files\env\lib\concurrent\futures_base.py", line 403, in __get_result
raise self._exception
File "E:\roop-unleashed\installer\installer_files\env\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "E:\roop-unleashed\installer\roop-unleashed\roop\ProcessMgr.py", line 168, in process_videoframes
resimg = self.process_frame(frame)
File "E:\roop-unleashed\installer\roop-unleashed\roop\ProcessMgr.py", line 270, in process_frame
num_swapped, temp_frame = self.swap_faces(frame, temp_frame)
File "E:\roop-unleashed\installer\roop-unleashed\roop\ProcessMgr.py", line 296, in swap_faces
temp_frame = self.process_face(self.options.selected_index, face, temp_frame)
File "E:\roop-unleashed\installer\roop-unleashed\roop\ProcessMgr.py", line 341, in process_face
fake_frame = p.Run(inputface, target_face, frame)
File "E:\roop-unleashed\installer\roop-unleashed\roop\processors\FaceSwapInsightFace.py", line 27, in Run
img_fake, M = self.model_swap_insightface.get(temp_frame, target_face, source_face, paste_back=False)
File "E:\roop-unleashed\installer\installer_files\env\lib\site-packages\insightface\model_zoo\inswapper.py", line 50, in get
latent = source_face.normed_embedding.reshape((1,-1))
AttributeError: 'NoneType' object has no attribute 'reshape'
I've reset my PC and re-install all the things mentioned in the WIKI, including the C++ package (build tools as well), Python 3.10.6, and Cuda kit. But it shows the same error. I really don't know what happened. I was using it nice and smooth, but suddenly after I deleted some temp files it got wrong. I changed to another call "Roop" but it still has the same problem.
Beta Was this translation helpful? Give feedback.
All reactions