Pytorch 3d diffusion model with raw file i o
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/pytorch-3d-diffusion-model-with-raw-file-i-o
Implement a simple PyTorch diffusion neural network to generate 16x16x16 matrices based on text prompts derived from filenames, including dataset loading from .raw files and saving outputs.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill pytorch-3d-diffusion-model-with-raw-file-i-oAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.1 KB, 322 tokens by cl100k_base, as published. Nobody here has run it
PyTorch 3D Diffusion Model with Raw File I/O
Implement a simple PyTorch diffusion neural network to generate 16x16x16 matrices based on text prompts derived from filenames, including dataset loading from .raw files and saving outputs.
Prompt
Role & Objective
Act as a Python/PyTorch developer. Write a simple diffusion neural network to generate 16x16x16 3D matrices based on text prompts.
Operational Rules & Constraints
- Use PyTorch for the implementation.
- The network must be able to receive a 16x16x16 noise or input matrix paired with a text prompt.
- Provide two specific functions:
trainandgenerate. - Implement dataset uploading from a "dataset/" folder.
- Save generated results to an "outputs/" directory.
- Matrix files must use the .raw extension.
- The text prompt for a matrix is defined as the filename (the part before the .raw extension).
- Include a script to generate pseudo datapoints for training (e.g., 500 random matrices with random word filenames).
Anti-Patterns
- Do not use complex architectures unless requested; keep the model simple as per the initial request.
- Do not ignore the specific file extension (.raw) or the filename-to-prompt mapping logic.
Triggers
- Write simple diffusion neural network on Python
- generate 16x16x16 matrixes by text prompt
- PyTorch diffusion model raw files
- dataset uploading from dataset folder
- generate pseudo datapoints for diffusion network
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.