Closed camjac251 closed 1 year ago
@camjac251
Okay, let's see.
Hey :)
GenericXSeg
when running XSeg Apply since I've trained my own model and want to force it to use only the model to apply. I didn't mean to uncheck Copy_to_Drive
.I gave it another look and saw many mistakes that I originally missed. Sorry about that. Added a commit just now with the latest changes.
@camjac251
Okay, it works for you, but if someone needs to use built-in pretrain function and doesn't have CelebA or FFHQ downloaded, train won't start. Same for Quick96.
About language, that's fine, I'm just wondering ) I just often see google translator put "the" literally everywhere ))
@camjac251
if someone needs to use built-in pretrain function and doesn't have CelebA or FFHQ downloaded, train won't start. Same for Quick96.
The dropdown box for Download_Dataset
and Download_Pretrained_Model
help this. They're set to None
by default since it'll be more convenient for someone to not have to set it to None
every time they want to continue training vs. having to change the option every time they load the window. If the dropdown is changed from None to say FFHQ, it'll download that during the installation process. Someone will likely be continuing an existing model more often than starting a new one so None
made better sense to me being the default, but it is still working with the download process of the pretraining datasets/model.
I noticed a typo I made with the CelebA dataset URL. Fixed and should work now
@camjac251
The dropdown box for Download_Dataset and Download_Pretrained_Model help this.
I understand. That's not what I'm talking about. I meant that you underestimate number of dumb people who will just forget to turn this option on, even when they need it. What to do with such people?
Now, pretrain dataset and Quick96 are loaded anyway. It's foolproof. It takes a few minutes, which isn't a lot of time on scale of a Colab session. Even if you save 5 minutes, on those options, it doesn't matter.
The entire DFL workflow can be quite a feat of its own, but I guess I could come up with something, as I was hoping this could be merged for everyone to find use in. I was thinking of moving the Manage workspace block above the DFL Installation block since it's more convenient (In my opinion) to get all of the dialogue boxes out of the way if you're wanting to continue training but only have a minute.
I was thinking if someone did import their workspace before the install block would run, there could be a check to see if they have files in their model
folder or data_src
/data_dst
folder and if nothing is detected, then it could run the download of both the dataset and model, regardless of the option above.
I'll try and figure something else, but it might be more than what I was hoping for.
@camjac251
I understand what you want to do, but I have to consider that it will be used by different people, with different ideas of convenience and logic.
In any case.
I disagree about optional uploading of datasets and Q96.
Also, GenericXSeg
must be enabled by default.
Also, all sections must be collapsed by default
I saw after the change in Google Drive (same account restriction), that a reference to multiple Google accounts was in the text box, so I ended up removing it but then wanted to go further and try helping with some of the other stuff as well. I updated the GPUs that Colab has as well, filled out the VRAM amount for the GPUs I have gotten. I also changed the function name in "import workspace". Also refactored the dataset and model downloading to hopefully make it easier in the future for multiple options and also allow it to be optional and not required.