Diffusampler #8
Replies: 5 comments 22 replies
-
Looks great but I cannot get it to work (yet). Here is the command: !python diffusampler.py --dir samples --name un1bhs --ema --modelSize 512 --mults 1 1 2 2 4 4 8 --nsamples 4 --batchSize 2 --load {pretrained_models}/Diffusion-Model-55.pt --model unet0k5 # --epoch 180 I commented out -- epoch 180 since I am not sure what this is. My model is Diffusion-Model-55.pt. Here is the error: FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/pretrained/Diffusion-Model-55.pt-0.pt' Where is this extra '-0.pt' coming from? |
Beta Was this translation helpful? Give feedback.
-
I am halfway there. Thanks for the explicit suggestion. Now my command reads: !python diffusampler.py --dir samples --name un1bhs --ema --modelSize 512 --mults 1 1 2 2 4 4 8 --nsamples 4 --batchSize 2 --load {pretrained_models}/Diffusion-Model --model unet0k5 --epoch 55 but I get this error now: FileNotFoundError: [Errno 2] No such file or directory: 'samples/name-55-0.png' There is no 'samples' subdirectory in the repo. I can try adding this directory and rerun. |
Beta Was this translation helpful? Give feedback.
-
It was a good exercise for me — to simplify the notebook. Yes I view colab as a front end
…-p
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: https://atec.utdallas.edu/content/fishwick-paul/
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
On Jun 4, 2022, at 3:02 AM, Hannu Töyrylä ***@***.***> wrote:
Thanks! I perhaps reacted a bit strongly... but I really felt that those comments were not informative to a newcomer. Thinking further, if I had understood from the beginning that you intend to use my code as it is and use colab just as a front end, I would probably have answered differently. But the colabs I had seen had been major rewrites of earlier code and I believed that you were about to do something like that and starting thinking what could be done differently (like the train steps thing).
Not sure I get the part about "the two -h cells" though.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
My position is if you want and can edit it, this would be welcome. This solves
your “disliking of the situation”. I am not editing it.
…-p
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
From: Hannu Töyrylä ***@***.***>
Reply-To: htoyryla/minidiffusion ***@***.***>
Date: Thursday, June 2, 2022 at 2:20 PM
To: htoyryla/minidiffusion ***@***.***>
Cc: Paul Fishwick ***@***.***>, Comment ***@***.***>
Subject: Re: [htoyryla/minidiffusion] Diffusampler (Discussion #8)
They helped you in the process. However, "50 will not work" instead of "stick to 1000" is not helpful.
I also noticed that the list of options is from the code where the help texts are often unedited after a copy-paste. There is better info on the settings in the readme and in discussions (diffudiver, diffusampler), but even that is incomplete.
So... I don't like the situation but I am absolutely not willing to become a maintainer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Oh ok. No issues
…Sent from my iPhone
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology & Emerging Communication
Professor of Computer Science
The University of Texas at Dallas
Art, Technology & Emerging Communication
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Blog 1: ***@***.***
Blog 2: digest.sigsim.org
LinkedIn: metaphorz
Twitter: @PaulFishwick
On Oct 11, 2022, at 2:19 PM, Hannu Töyrylä ***@***.***> wrote:
I mean... I received the above post today, which is why I responded. Maybe it was stuck somewhere and arrived a bit late.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Diffusampler.py has been added.
--dir directory where to store the samples
--name base name for the samples (script will add epoch and sample numbers to the saved image names)
--epoch first epoch to sample
--epoch2 last epoch to sample
--estep step between epochs to sample, use 1 for every epoch
--nsamples total number of samples per epoch
--batchSize batch size for (parallel) sampling
--load use the path to the model but leave out the epoch number and extension (e.g. un1b/model instead of un1b/model-45.pt)
As in training
--ema
--modelSize
--mults
--model
Beta Was this translation helpful? Give feedback.
All reactions