A project for generating text-based dynamic images (Under updating).
RDTF (Text-Driven Dynamic Image Generation) is a cutting-edge project focused on generating dynamic images from text descriptions. By leveraging advanced AI models and fine-tuning techniques, RDTF enables the creation of visually engaging dynamic visuals that respond to textual inputs.
The project utilizes the i2vgen model as its foundation and incorporates LoRA (Low-Rank Adaptation) fine-tuning technology to optimize performance specifically for dynamic image generation tasks. This combination allows for efficient adaptation of the base model while maintaining high-quality output.
requirements.txt)# Clone the repository
git clone https://github.com/yourusername/RDTF.git
cd RDTF
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
RDTF uses LoRA fine-tuning for optimal performance.
# Run the training script
bash shells/train_multitaskpretrain.sh
You can modify the training parameters in the train_multitaskpretrain.sh script, including:
To generate dynamic images using the trained model:
/usr/local/envs/diffusers/bin/python examples_lora.py
Modify the examples_lora.py file to provide your own text prompts and adjust generation parameters such as:
Check out the examples/ directory for sample outputs and corresponding input prompts.
We welcome contributions to RDTF! Please read our CONTRIBUTING.md for details on our code of conduct and submission process.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions and feedback, please open an issue and contact.
109 commits
Python
80.2%
JavaScript
13.8%
HTML
5.0%
A project for generating text-based dynamic images (Under updating).
RDTF (Text-Driven Dynamic Image Generation) is a cutting-edge project focused on generating dynamic images from text descriptions. By leveraging advanced AI models and fine-tuning techniques, RDTF enables the creation of visually engaging dynamic visuals that respond to textual inputs.
The project utilizes the i2vgen model as its foundation and incorporates LoRA (Low-Rank Adaptation) fine-tuning technology to optimize performance specifically for dynamic image generation tasks. This combination allows for efficient adaptation of the base model while maintaining high-quality output.
requirements.txt)# Clone the repository
git clone https://github.com/yourusername/RDTF.git
cd RDTF
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
RDTF uses LoRA fine-tuning for optimal performance.
# Run the training script
bash shells/train_multitaskpretrain.sh
You can modify the training parameters in the train_multitaskpretrain.sh script, including:
To generate dynamic images using the trained model:
/usr/local/envs/diffusers/bin/python examples_lora.py
Modify the examples_lora.py file to provide your own text prompts and adjust generation parameters such as:
Check out the examples/ directory for sample outputs and corresponding input prompts.
We welcome contributions to RDTF! Please read our CONTRIBUTING.md for details on our code of conduct and submission process.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions and feedback, please open an issue and contact.
109 commits
Python
80.2%
JavaScript
13.8%
HTML
5.0%