Closed LemurPwned closed 2 days ago
This pull request updates the GitHub Actions workflow to create releases automatically, modifies the frame saving format in the video sampler, and adds new configuration options for the save format. The changes improve the CI/CD pipeline and enhance the flexibility of the video sampling process.
graph TD;
A[GitHub Actions] -->|Trigger on PR merge or workflow dispatch| B[Build Job];
B -->|Outputs version| C[Release Job];
C -->|Create release with version| D[GitHub Repository];
classDiagram
class SamplerConfig {
dict summary_config
int n_workers
SaveFormatConfig save_format
}
class SaveFormatConfig {
bool encode_time
bool include_filename
}
SamplerConfig --> SaveFormatConfig
Change | Details | Files |
---|---|---|
Update GitHub Actions workflow to create releases automatically |
|
.github/workflows/build.yml |
Modify frame saving format in the video sampler |
|
video_sampler/sampler.py |
Add new configuration options for save format |
|
video_sampler/config.py configs/hash_base.yaml |
Minor README update |
|
README.md |
Summary by Sourcery
Enhance the video sampler by adding a method to format output paths with options for encoding time and including filenames. Update the GitHub Actions workflow to automate release creation by extracting the version from the project configuration. Improve the README formatting for clarity.
Enhancements:
CI:
Documentation: