How jorgeromeu/thesis works
Project type and purpose
• This is an open-source research framework (text3D2video) for controllable 4D-guided video generation. It provides a Python library of “pipelines” that integrate text-to-image diffusion models, 3D meshes/animations, and attention-based modules to generate temporally coherent videos.
• Key use cases: script-based experiments (under scripts/), interactive exploration (in notebooks/), and utility functions for Blender, logging, and artifact management.
File structure
• Top-level entrypoints:
• scripts/ – CLI experiments & runs (e.g. run_texgen.py, run_generative_rendering.py)
• blender_scripts/ – standalone Blender helpers for exporting USD animations
• notebooks/, visual_tests/, tests/ – interactive and test environments
• Core library: text3d2video/
• pipelines/ – base & specialized pipelines (ControlNet, Text-to-3D generation, style-aligned, generative rendering)
• attn_processors/ – plugin modules for attention extraction/injection
• artifacts/ – typed outputs (meshes, textures, videos)
• utilities/ – broad helper functions (geometry, camera, logging, USD, video, image, FAISS, etc.)
• Config & environment: env.yaml, requirements.txt, wandb_util/
Key insights from README
• The framework relies on PyTorch (1.12+), PyTorch3D, FAISS, diffusion libraries, and optionally Blender.
• The user writes or runs scripts that instantiate a pipeline, provide a mesh/animation sequence, configure model checkpoints/parameters, and then generate outputs.
Detail level
• Do not collapse the core library into one monolithic block. Show sub-components: pipelines, attn_processors, utilities, artifacts.
• How utilities feed into pipelines (e.g. geometry_processing, camera_utils).
• Config management (env.yaml/CLI) as a separate component feeding into script entrypoints.
• Experiments scripts grouping (e.g. scripts/wandb_runs/) and how they differ from scripts/wandb_experiments/.