Skip to content

Add decord to requirements.txt#359

Open
3manifold wants to merge 1 commit into
Wan-Video:mainfrom
3manifold:patch-1
Open

Add decord to requirements.txt#359
3manifold wants to merge 1 commit into
Wan-Video:mainfrom
3manifold:patch-1

Conversation

@3manifold

Copy link
Copy Markdown

Description

When attempting to call this command line:

python generate.py \
--task ti2v-5B \
--size '1280*704' \
--ckpt_dir ./model/ \
--prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."

I received this error:

Traceback (most recent call last):
  File "Wan2.2/generate.py", line 17, in <module>
    import wan
  File "Wan2.2/wan/__init__.py", line 4, in <module>
    from .speech2video import WanS2V
  File "/Wan2.2/wan/speech2video.py", line 18, in <module>
    from decord import VideoReader
ModuleNotFoundError: No module named 'decord'

Fix that permanently by adding decord to requirements.txt.

@xr2090765-stack

Copy link
Copy Markdown

python generate.py
--task ti2v-5B
--size '1280*704'
--ckpt_dir ./model/
--prompt"A stunningly beautiful young East Asian woman, 23 years old, with long wavy black hair falling over her bare shoulders. She has naturally full feminine curves, a generous hourglass figure, and a graceful presence. She wears an elegant floor-length evening gown in deep burgundy velvet with a flattering sweetheart neckline that enhances her décolletage, fitted bodice, and flowing skirt.

She stands in a dimly lit luxurious room at golden hour. Soft warm candlelight and amber sunset glow stream through sheer white curtains, illuminating her porcelain skin and the rich velvet fabric. Her face is calm, confident, and slightly mysterious — lips softly parted, eyes half-lidded with a peaceful gaze.

Her movement is subtle, hypnotic, and perfectly cyclic: she sways her hips very slowly from side to side in a gentle, natural rhythm. One hand rests on her hip, then slowly rises to caress her own shoulder and run through her long hair, before gracefully lowering back to the starting position. Her breathing is slow and visible — her chest rises and falls gently in a calm, sensual rhythm. Every few seconds, she blinks slowly.

The camera is static, slightly low angle, medium full-body shot capturing her from head to mid-thigh. Background softly blurred: velvet drapes, flickering candles on a side table, floating dust particles catching the light. The background candles flicker softly with no abrupt changes.

The lighting is warm and consistent throughout — golden amber and deep red tones, with soft shadows that do not shift direction. The camera does not move or zoom. The scene contains no text, no dialogue, no sudden movements, no objects entering or leaving frame, no lighting changes.

This video is designed as a seamless infinite loop. The motion must be perfectly cyclic — the final frame of the video must match the starting frame in pose, position, lighting, and background exactly. When repeated, no jump or cut should be visible.

Cinematic, photorealistic, high quality, 24 frames per second, 9:16 vertical aspect ratio for mobile/social media. Duration 5 seconds."

@xr2090765-stack

Copy link
Copy Markdown

python generate.py
--task ti2v-5B
--size '1280*704'
--ckpt_dir ./model/
--prompt"A stunningly beautiful young East Asian woman, 23 years old, with long wavy black hair falling over her bare shoulders. She has naturally full feminine curves, a generous hourglass figure, and a graceful presence. She wears an elegant floor-length evening gown in deep burgundy velvet with a flattering sweetheart neckline that enhances her décolletage, fitted bodice, and flowing skirt.

She stands in a dimly lit luxurious room at golden hour. Soft warm candlelight and amber sunset glow stream through sheer white curtains, illuminating her porcelain skin and the rich velvet fabric. Her face is calm, confident, and slightly mysterious — lips softly parted, eyes half-lidded with a peaceful gaze.

Her movement is subtle, hypnotic, and perfectly cyclic: she sways her hips very slowly from side to side in a gentle, natural rhythm. One hand rests on her hip, then slowly rises to caress her own shoulder and run through her long hair, before gracefully lowering back to the starting position. Her breathing is slow and visible — her chest rises and falls gently in a calm, sensual rhythm. Every few seconds, she blinks slowly.

The camera is static, slightly low angle, medium full-body shot capturing her from head to mid-thigh. Background softly blurred: velvet drapes, flickering candles on a side table, floating dust particles catching the light. The background candles flicker softly with no abrupt changes.

The lighting is warm and consistent throughout — golden amber and deep red tones, with soft shadows that do not shift direction. The camera does not move or zoom. The scene contains no text, no dialogue, no sudden movements, no objects entering or leaving frame, no lighting changes.

This video is designed as a seamless infinite loop. The motion must be perfectly cyclic — the final frame of the video must match the starting frame in pose, position, lighting, and background exactly. When repeated, no jump or cut should be visible.

Cinematic, photorealistic, high quality, 24 frames per second, 9:16 vertical aspect ratio for mobile/social media. Duration 5 seconds."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants