issue192:tutoriel1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
issue192:tutoriel1 [2023/05/02 08:23] – d52fr | issue192:tutoriel1 [2023/05/03 14:41] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
**Given I am still a bit of a newbie myself, I thought I should note some of the problems I have run into with Stable Diffusion (SD.) In order to support the graphics, I upgraded my computer to a gamer desktop with a Nvidia card. The new system (CYBERPOWERPC Gamer Xtreme VR Gaming PC with an Nvidia GeForce RTX 3060, 12GB) was initially only slightly faster than the CPU option. The screen capture below shows the new computer configurations.** | **Given I am still a bit of a newbie myself, I thought I should note some of the problems I have run into with Stable Diffusion (SD.) In order to support the graphics, I upgraded my computer to a gamer desktop with a Nvidia card. The new system (CYBERPOWERPC Gamer Xtreme VR Gaming PC with an Nvidia GeForce RTX 3060, 12GB) was initially only slightly faster than the CPU option. The screen capture below shows the new computer configurations.** | ||
- | Étant | + | Étant |
**In order to address the slow imaging speed, I looked at the Settings tab in SD and found that it was set to use the CPU not GPU. (Also note the presence of the Beta Channel version option which may fix some issues and add new options.) | **In order to address the slow imaging speed, I looked at the Settings tab in SD and found that it was set to use the CPU not GPU. (Also note the presence of the Beta Channel version option which may fix some issues and add new options.) | ||
Ligne 15: | Ligne 15: | ||
Finalement, j’ai rencontré un autre problème. En démarrant SD, je voyais parfois la ligne suivante dans le terminal et mon navigateur ne s’est jamais ouvert. | Finalement, j’ai rencontré un autre problème. En démarrant SD, je voyais parfois la ligne suivante dans le terminal et mon navigateur ne s’est jamais ouvert. | ||
- | qt.qpa.plugin: | + | qt.qpa.plugin: |
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. (Cette application n'a pas démarré parce qu' | This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. (Cette application n'a pas démarré parce qu' | ||
Ligne 30: | Ligne 30: | ||
Thanks to ljubomirb | Thanks to ljubomirb | ||
- | Pour corriger le problème, fermez d’abord) le programme (tapez CTRL+c puis Entrée) et ensuite fermez l’onglet du navigateur. Je pouvais corriger le problème ci-dessus chaque fois qu’il est survenu en collant la commande ci-dessous dans la même fenêtre du terminal : | + | Pour corriger le problème, fermez d’abord le programme (tapez CTRL+c puis Entrée) et ensuite fermez l’onglet du navigateur. Je pouvais corriger le problème ci-dessus chaque fois qu’il est survenu en collant la commande ci-dessous dans la même fenêtre du terminal : |
export QT_QPA_PLATFORM=offscreen | export QT_QPA_PLATFORM=offscreen | ||
- | Appuyez sur Entrée et redémarrer | + | Appuyez sur Entrée et redémarrez |
./start.sh puis Entrée | ./start.sh puis Entrée | ||
Ligne 56: | Ligne 56: | ||
Vous pouvez également utiliser le bouton Download images pour une seule image. Tel que je le comprends, SD est déterministe et, normalement, | Vous pouvez également utiliser le bouton Download images pour une seule image. Tel que je le comprends, SD est déterministe et, normalement, | ||
- | La taille d’une image par défaut est de 512 x 512 px et, si vous choisissez une plus petite taille, un avertissement s’affichera vous indiquant qu'une petite taille d’image (moins que la taille par défaut) peut engendrer une mauvaise qualité de l’image. Si une seule dimension est plus petite que 512, l’avertissement ne s’affichera peut-être pas, mais la qualité de l’image sera néanmoins tout de même mauvaise. Des tailles d’image plus grandes peuvent aussi affecter l’image générée de façon indésirée. Quand j’essayais de générer l’image d’un bébé avec les yeux grand ouverts, la taille de l' | + | La taille d’une image par défaut est de 512 x 512 px et, si vous choisissez une plus petite taille, un avertissement s’affichera vous indiquant qu'une petite taille d’image (moins que la taille par défaut) peut engendrer une mauvaise qualité de l’image. Si une seule dimension est plus petite que 512, l’avertissement ne s’affichera peut-être pas, mais la qualité de l’image sera néanmoins tout de même mauvaise. Des tailles d’image plus grandes peuvent aussi affecter l’image générée de façon indésirée. Quand j’essayais de générer l’image d’un bébé avec les yeux grand ouverts, la taille de l' |
Quand vous créerez vous premières images, vous serez sans doute très impressionné, | Quand vous créerez vous premières images, vous serez sans doute très impressionné, | ||
Ligne 62: | Ligne 62: | ||
**Similarly it can’t do a Pablo Picasso rendering of yourself because your photographs were also not part of the training. That said, try inputting your name in the prompt and see what you get. I thought I would end with a more desirable image, create something like the below with the prompt library with fireplace burning with a single bay window. No fire is in the fireplace in the below image possibly because the prompt was worded incorrectly but it may be because of the viewing angle. You might want to bump up the number of images to 10 in the options below the prompt to make ten different versions. You may want to hold off on using that parameter if you don’t have a more capable graphic card otherwise the wait time may be significant. | **Similarly it can’t do a Pablo Picasso rendering of yourself because your photographs were also not part of the training. That said, try inputting your name in the prompt and see what you get. I thought I would end with a more desirable image, create something like the below with the prompt library with fireplace burning with a single bay window. No fire is in the fireplace in the below image possibly because the prompt was worded incorrectly but it may be because of the viewing angle. You might want to bump up the number of images to 10 in the options below the prompt to make ten different versions. You may want to hold off on using that parameter if you don’t have a more capable graphic card otherwise the wait time may be significant. | ||
- | De la même façon, il ne peut pas faire une image de vous-même à la Pablo Picasso parce que les photographies de vous ne faisaient pas partie de l' | + | De la même façon, il ne peut pas faire une image de vous-même à la Pablo Picasso parce que les photographies de vous ne faisaient pas partie de l' |
issue192/tutoriel1.1683008584.txt.gz · Dernière modification : 2023/05/02 08:23 de d52fr