Skip to content

January 7, 2024

[Python] Creating and Auto-Removing Temporary Directories with Python's `tempfile`

Last Updated on 2024-01-07 by Clay

Introduction

Today I was reading the training source code of DreamBooth, and I found the tempfile built-in module; I happened to reconstruct a script for model's layer merging, suddenly thought that the module would make the code more elegant, so I made this note.

Read More »[Python] Creating and Auto-Removing Temporary Directories with Python's `tempfile`
Exit mobile version