Comments (8)
Hi, thanks for your interest in our project.
Did you tried to restart the gradio demo? I've encountered this problem in a very low frequency, but restarting the gradio demo usually resolves it. I will work on addressing this issue in future updates.
from mofa-video.
Loading pipeline components...: 100%|████████████| 5/5 [00:00<00:00, 236.76it/s]
models loaded.
Running on local URL: [http://0.0.0.0:80](http://0.0.0.0/)
To create a public link, set `share=True` in `launch()`.
You selected None at [228, 133] from image
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction
output = await route_utils.call_process_api(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api
result = await self.call_function(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper
response = f(*args, **kwargs)
File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points
tracking_points.constructor_args['value'][-1].append(evt.index)
AttributeError: 'list' object has no attribute 'constructor_args'
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction
output = await route_utils.call_process_api(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api
result = await self.call_function(
File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper
response = f(*args, **kwargs)
File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points
tracking_points.constructor_args['value'][-1].append(evt.index)
AttributeError: 'list' object has no attribute 'constructor_args'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 501, in process_events
response = await self.call_prediction(awake_events, batch)
File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 465, in call_prediction
raise Exception(str(error) if show_error else None) from error
Exception: None
from mofa-video.
And this one, doesn’t seem to be a brush?
from mofa-video.
Current version only supports creating masks by clicking multiple times on the image. You can enlarge the area covered by each click using the 'Motion Brush Radius' bar.
Once we complete the preparation and release of the other parts of the code, we will update the Gradio inference demo for more advanced interface and support. thank you for your interest!
from mofa-video.
Loading pipeline components...: 100%|████████████| 5/5 [00:00<00:00, 236.76it/s] models loaded. Running on local URL: [http://0.0.0.0:80](http://0.0.0.0/) To create a public link, set `share=True` in `launch()`. You selected None at [228, 133] from image Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 501, in process_events response = await self.call_prediction(awake_events, batch) File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 465, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None
This is caused by clicking the "add trajectory" button more than once without clicking the image to add trajectories.
from mofa-video.
Loading pipeline components...: 100%|████████████| 5/5 [00:00<00:00, 236.76it/s] models loaded. Running on local URL: [http://0.0.0.0:80](http://0.0.0.0/) To create a public link, set `share=True` in `launch()`. You selected None at [228, 133] from image Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 501, in process_events response = await self.call_prediction(awake_events, batch) File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 465, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None
This is caused by clicking the "add trajectory" button more than once without clicking the image to add trajectories.
I followed the steps provided, but it was never successful.
from mofa-video.
Loading pipeline components...: 100%|████████████| 5/5 [00:00<00:00, 236.76it/s] models loaded. Running on local URL: [http://0.0.0.0:80](http://0.0.0.0/) To create a public link, set `share=True` in `launch()`. You selected None at [228, 133] from image Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 456, in call_prediction output = await route_utils.call_process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api output = await app.get_blocks().process_api( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1522, in process_api result = await self.call_function( File "/root/miniconda3/lib/python3.10/site-packages/gradio/blocks.py", line 1144, in call_function prediction = await anyio.to_thread.run_sync( File "/root/miniconda3/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/root/miniconda3/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/root/miniconda3/lib/python3.10/site-packages/gradio/utils.py", line 674, in wrapper response = f(*args, **kwargs) File "/root/autodl-tmp/MOFA-Video/MOFA-Video-Traj/run_gradio.py", line 749, in add_tracking_points tracking_points.constructor_args['value'][-1].append(evt.index) AttributeError: 'list' object has no attribute 'constructor_args' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 501, in process_events response = await self.call_prediction(awake_events, batch) File "/root/miniconda3/lib/python3.10/site-packages/gradio/queueing.py", line 465, in call_prediction raise Exception(str(error) if show_error else None) from error Exception: None
This is caused by clicking the "add trajectory" button more than once without clicking the image to add trajectories.
What is your Gradio version? This demo will cause errors in previous Gradio versions. I test the demo with Gradio version of gradio==4.5.0.
Also, can you provide the image you used so that I can reproduce the error on my machine?
from mofa-video.
gradio==4.5.0
Thanks, After install gradio==4.5.0, error solved.
from mofa-video.
Related Issues (20)
- audio_driven run error HOT 3
- MOFA-Video-Traj graio demo出错 HOT 1
- No module named 'cv2' HOT 4
- traj demo 报错 HOT 2
- How to run audio-drivern workflow HOT 1
- Please Fix this project to work with the latest CUDA and if possible have a video tutorial. TIA HOT 8
- Please post video tutorial as an example
- landmarks condition is stronger than flow condition HOT 2
- AssertionError: Errors in generating landmarks! Please trace back up for detailed error report.
- Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _Proact HOT 1
- Stage2 training included and freeze both cmp and image encoder flow, any particular reason?
- missing keys from checkpoint. HOT 3
- Strongly looking forward to updating CUDA12.1 version HOT 1
- Evaluation Code HOT 1
- Training set of the portrait-based model HOT 1
- Training script, inference scripts and checkpoints for keypoint-based facial image animation. HOT 4
- 生成视频变形,有啥参数可以调整么?Are there any parameters that can be adjusted to generate video deformation?
- 请问有考虑结合exvideo吗
- face mask of facial landmark based animation. HOT 1
- huggingface上的演示demo在进行轨迹添加的时候报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mofa-video.