mirror of
https://github.com/huggingface/lerobot.git
synced 2026-07-01 07:07:08 +00:00
docs(pipeline): Add clarification for repo name sanitization process
This commit is contained in:
@@ -419,6 +419,7 @@ class RobotProcessor(ModelHubMixin):
|
||||
# Sanitize processor name for use in filenames
|
||||
import re
|
||||
|
||||
# The huggingface hub does not allow special characters in the repo name, so we sanitize the name
|
||||
sanitized_name = re.sub(r"[^a-zA-Z0-9_]", "_", self.name.lower())
|
||||
|
||||
# Use sanitized name for config if not provided
|
||||
|
||||
Reference in New Issue
Block a user