Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   RetryableConfigNamesError
Exception:    HfHubHTTPError
Message:      Server error '500 Internal Server Error' for url 'https://huggingface.co/api/datasets/SignerX/StableSigner/tree/a16e5a28ada305d3de4e6aafbf2285db7bd787d4/src%2Fsam-2?recursive=true&expand=false' (Request ID: Root=1-6abf1aca-0e8376020a8d2a0b6253a01d;f4cbbfb5-d627-4a8e-bbbd-17a30071a247)
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500

Internal Error - We're working hard to fix this as soon as possible!
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
                  config_names = get_dataset_config_names(
                      path=dataset,
                      token=hf_token,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                      path,
                  ...<4 lines>...
                      **download_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1215, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1190, in dataset_module_factory
                  ).get_module()
                    ~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 648, in get_module
                  patterns = get_data_patterns(base_path, download_config=self.download_config)
                File "/usr/local/lib/python3.14/site-packages/datasets/data_files.py", line 493, in get_data_patterns
                  return _get_data_files_patterns(resolver)
                File "/usr/local/lib/python3.14/site-packages/datasets/data_files.py", line 290, in _get_data_files_patterns
                  data_files = pattern_resolver(pattern)
                File "/usr/local/lib/python3.14/site-packages/datasets/data_files.py", line 372, in resolve_pattern
                  for filepath, info in fs.glob(fs_pattern, detail=True, **glob_kwargs).items():
                                        ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 728, in glob
                  return super().glob(path, maxdepth=maxdepth, **kwargs)
                         ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/fsspec/spec.py", line 611, in glob
                  allpaths = self.find(root, maxdepth=depth, withdirs=True, detail=True, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 767, in find
                  out = self._ls_tree(path, recursive=True, refresh=refresh, maxdepth=maxdepth, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 586, in _ls_tree
                  self._ls_tree(
                  ~~~~~~~~~~~~~^
                      common_path,
                      ^^^^^^^^^^^^
                  ...<4 lines>...
                      maxdepth=maxdepth,
                      ^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 612, in _ls_tree
                  for path_info in tree:
                                   ^^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_api.py", line 3922, in list_repo_tree
                  for path_info in paginate(path=tree_url, headers=headers, params={"recursive": recursive, "expand": expand}):
                                   ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_pagination.py", line 36, in paginate
                  hf_raise_for_status(r)
                  ~~~~~~~~~~~~~~~~~~~^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 877, in hf_raise_for_status
                  raise _format(HfHubHTTPError, str(e), response) from e
              huggingface_hub.errors.HfHubHTTPError: Server error '500 Internal Server Error' for url 'https://huggingface.co/api/datasets/SignerX/StableSigner/tree/a16e5a28ada305d3de4e6aafbf2285db7bd787d4/src%2Fsam-2?recursive=true&expand=false' (Request ID: Root=1-6abf1aca-0e8376020a8d2a0b6253a01d;f4cbbfb5-d627-4a8e-bbbd-17a30071a247)
              For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
              
              Internal Error - We're working hard to fix this as soon as possible!

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Intro

This repo has three parts:

  1. prompt2gloss: text prompt -> gloss sequence
  2. gloss2pose: gloss -> pose video (skeleton)
  3. pose2video: pose video -> rendered signer video (One-to-All 1.3B, with refine)

Quickstart

0) Env (one-to-all)

cd /research/cbim/vast/sf895/code/SignerX-inference-webui/plugins/StableSigner
conda env create -f env/one-to-all.yml
conda activate one-to-all

1) prompt2gloss (optional)

python pipeline01_prompt2gloss.py --prompt "good morning afternoon"

This prints a gloss sequence you can pass to gloss2pose.

2) gloss2pose (unchanged)

python pipeline02_gloss2pose.py --gloss "good morning afternoon" --scale-y 1.4 --scale-x 1.3 --npz-interpolation 20 --width 512 --height 768 --fps 25 --hide-torso-lines true --ref-image-path ref_img_dict/01.jpeg

or

python gloss2pose.py --gloss "where is my cat" --scale-y 1.5 --scale-x 1.5 --npz-interpolation 20 --width 512 --height 512 --fps 25 --hide-torso-lines false --draw-style openpose

This creates a pose video in generated_pose_video/.

3) pose2video + refine (One-to-All, required)

pipeline03_pose2video.sh now runs two stages:

  • Stage1: direct pose2video (inference_1.3b.py)
  • Stage2: refine/replace (infer_refine.sh) using Stage1 output
./pipeline03_pose2video.sh

Defaults are inside the script. You can override by env vars:

POSE_VIDEO=generated_pose_video/HELLO_GOOD_MORNING_20251215_142658_openpose_style.mp4 \
REF_IMAGE=ref_img_dict/man.jpg \
GPU_ID=1 \
REF_CFG=2.5 \
POSE_CFG=1.5 \
./pipeline03_pose2video.sh

Refine-only (manual)

If you already have a video (or frames dir), run refine directly:

cd One-to-All-Animation/video-generation
./infer_refine.sh --input /path/to/video_or_frames_dir --ref /path/to/ref.jpg --gpu 1
  • If --input is a frames directory, it will auto-merge to a temp video (default fps=25).
  • If --input is a video file, it uses the source FPS.

Outputs

  • Pose video: generated_pose_video/*.mp4
  • Stage1 output: generated_sign_video/YYYY-MM-DD_ref_<ref_cfg>_pose_<pose_cfg>/...mp4
  • Refine output: generated_sign_video_refine/...mp4

Notes

  • The One-to-All pipeline uses the one-to-all conda env.
  • If you change REF_CFG/POSE_CFG, keep the same values in both stages.
Downloads last month
3