question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Results turn out pink

See original GitHub issue

Hi any idea what this could be result of?

last 3 images turned out 100% pink image

console log image

partials

image

my settings

{
  "batch_name": "Default",
  "text_prompts": {
    "0": ["Looking from above we see a Star Gate in the middle of a desert, by Noah Bradley, Trending on Artstation."]
  },
  "n_batches": 30,
  "steps": 220,
  "display_rate": 10,
  "width": 832,
  "height": 512,
  "set_seed": "random_seed",
  "image_prompts": {},
  "clip_guidance_scale": "auto",
  "tv_scale": -2,
  "range_scale": 150,
  "sat_scale": 0,
  "cutn_batches": 8,
  "cutn_batches_final": null,
  "init_image": null,
  "skip_steps_ratio": 0.33,
  "init_scale": 1000,
  "skip_steps": 0,
  "perlin_init": false,
  "perlin_mode": "mixed",
  "skip_augs": false,
  "randomize_class": true,
  "clip_denoised": false,
  "clamp_grad": true,
  "clamp_max": "auto",
  "fuzzy_prompt": false,
  "rand_mag": 0.05,
  "eta": "auto",
  "diffusion_model": "512x512_diffusion_uncond_finetune_008100",
  "use_secondary_model": true,
  "sampling_mode": "ddim",
  "diffusion_steps": 1000,
  "ViTB32": true,
  "ViTB16": true,
  "ViTL14": true,
  "ViTL14_336": false,
  "RN101": false,
  "RN50": false,
  "RN50x4": false,
  "RN50x16": false,
  "RN50x64": false,
  "cut_overview": "[5]*400+[1]*600",
  "cut_innercut": "[1]*400+[5]*600",
  "cut_ic_pow": 1,
  "cut_ic_pow_final": null,
  "cut_icgray_p": "[0.2]*400+[0]*600",
  "smooth_schedules": false,
  "intermediate_saves": 12,
  "stop_early": 0,
  "fix_brightness_contrast": true,
  "high_contrast_threshold": 80,
  "high_contrast_adjust_amount": 0.85,
  "high_contrast_start": 20,
  "high_contrast_adjust": true,
  "low_contrast_threshold": 20,
  "low_contrast_adjust_amount": 2,
  "low_contrast_start": 20,
  "low_contrast_adjust": true,
  "high_brightness_threshold": 180,
  "high_brightness_adjust_amount": 0.85,
  "high_brightness_start": 0,
  "high_brightness_adjust": true,
  "low_brightness_threshold": 40,
  "low_brightness_adjust_amount": 1.15,
  "low_brightness_start": 0,
  "low_brightness_adjust": true,
  "gobig_orientation": "vertical",
  "gobig_scale": 2,
  "keep_unsharp": false,
  "symmetry_loss_v": false,
  "symmetry_loss_h": false,
  "symm_loss_scale": 2400,
  "symm_switch": 45,
  "interp_spline": "Linear",
  "max_frames": 10000,
  "sharpen_preset": "Off",
  "frames_scale": 1500,
  "frames_skip_steps": "60%",
  "animation_mode": "None",
  "key_frames": true,
  "angle": "0:(0)",
  "zoom": "0: (1), 10: (1.05)",
  "translation_x": "0: (0)",
  "translation_y": "0: (0)",
  "video_init_path": "/content/training.mp4",
  "extract_nth_frame": 2
}


Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
lowfuelcommented, Jun 23, 2022

I found a possible cause for this. Testing a fix now. I believe it is related to auto_brightness_contrast, which changes a value whenever it triggers and that value is not being reset between images, so over the course of a batch it might be getting more and more out of whack. While I’m testing, you could try turning this off and see if the issue goes away? Alternatively, you could set perlin_init to true, because that does cause this variable to get reset between images.

0reactions
lowfuelcommented, Jul 28, 2022

Not that I’m aware of. I’ll do some tests. Would be helpful if you could post your settings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn Up the Pink Half - RunSignup
Egnite Fitness is hosting our first Half Marathon & 5k at Stone Mountain Park. Join us as most of us have been waiting...
Read more >
Gram Stain: MedlinePlus Medical Test
A Gram stain is a test that checks for bacteria at the site of a suspected infection or in certain body fluids, such...
Read more >
Staining of Plumbing Fixtures
Such surfaces include toilet bowls, shower heads, sink drains, and tiles. Some people have also noted that the pink residue appears in their...
Read more >
'Pink Wave' Poised to Upend Republican Midterm Prospects
Republicans have been predicting a midterm red wave. But voter registration is indicating something different: women turning out in high ...
Read more >
Pink-color sign in esophageal squamous neoplasia ... - NCBI
METHODS: In chromoendoscopy, the pink-color sign of iodine-unstained lesions is recognized as useful for the diagnosis of esophageal squamous cell carcinoma.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found