Skip to content

Commit 71575ff

Browse files
authored
fix
1 parent 378b85b commit 71575ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fast-DreamBooth.ipynb

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
" %env LD_PRELOAD=/content/gdrive/MyDrive/sd/libtcmalloc/libtcmalloc_minimal.so.4\n",
6666
"\n",
6767
" os.environ['PYTHONWARNINGS'] = 'ignore'\n",
68+
" !sed -i 's@text = _formatwarnmsg(msg)@text =\\\"\\\"@g' /usr/lib/python3.11/warnings.py\n",
6869
" !sed -i 's@HfFolder, cached_download@HfFolder@g' /usr/local/lib/python3.11/dist-packages/diffusers/utils/dynamic_modules_utils.py\n",
6970
" !sed -i 's@from pytorch_lightning.loggers.wandb import WandbLogger # noqa: F401@@g' /usr/local/lib/python3.11/dist-packages/pytorch_lightning/loggers/__init__.py\n",
7071
" !sed -i 's@from .mailbox import ContextCancelledError@@g' /usr/local/lib/python3.11/dist-packages/wandb/sdk/lib/retry.py\n",

0 commit comments

Comments
 (0)