-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afa8e4c
commit 1417b13
Showing
48 changed files
with
182 additions
and
689 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/diff1_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Input: | ||
A Christmas tree with a star on top, drawn in black and white linestyle. The tree is surrounded by snowflakes that are falling from the sky. In the background, there's a warm fireplace crackling with logs. The whole scene is lit up by a golden hue, giving it an ethereal glow. | ||
To make this image even more magical, | ||
|
||
|
||
|
||
Output: |
Binary file added
BIN
+29.1 KB
...ipeline/documentation/2024_05_13_16_42_59/history/diff1_history_input_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+43.6 KB
...peline/documentation/2024_05_13_16_42_59/history/diff1_history_output_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/inter1_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Input: | ||
|
||
|
||
|
||
|
||
Output: | ||
a christmas tree with a star on top, drawn with a single line, minimalistic drawing, minimalist line drawing, simple tree fractal, hand - drawn animation, hand drawn animation, 2d minimalism, christmas tree, one-line drawing, one - line drawing, single line drawing, minimalist photorealist, single tree, minimalist line art, an optical illusion drawing |
Binary file added
BIN
+25.1 KB
...peline/documentation/2024_05_13_16_42_59/history/inter1_history_input_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions
19
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/llm1_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Input: | ||
You are a very creative artist. | ||
Thing of something extraordinary. | ||
thing of something what you can add to this image to make it magic and special | ||
think in a way that inspires people and which makes them happy | ||
do not describe the style of the new image mention that no areas should be filled and style is black and white linestyle | ||
be very creative for example to a house you could add a garden or to a car a trailer you can even draw a truck out of a car | ||
the description should be something which makes sense | ||
the description should include that only thick lines should be drawn | ||
The image description is | ||
a christmas tree with a star on top, drawn with a single line, minimalistic drawing, minimalist line drawing, simple tree fractal, hand - drawn animation, hand drawn animation, 2d minimalism, christmas tree, one-line drawing, one - line drawing, single line drawing, minimalist photorealist, single tree, minimalist line art, an optical illusion drawing | ||
New image description: | ||
|
||
|
||
|
||
|
||
Output: | ||
A Christmas tree with a star on top, drawn in black and white linestyle. The tree is surrounded by snowflakes that are falling from the sky. In the background, there's a warm fireplace crackling with logs. The whole scene is lit up by a golden hue, giving it an ethereal glow. | ||
To make this image even more magical, |
17 changes: 17 additions & 0 deletions
17
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/merg1_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Input: | ||
You are a very creative artist. | ||
Thing of something extraordinary. | ||
thing of something what you can add to this image to make it magic and special | ||
think in a way that inspires people and which makes them happy | ||
do not describe the style of the new image mention that no areas should be filled and style is black and white linestyle | ||
be very creative for example to a house you could add a garden or to a car a trailer you can even draw a truck out of a car | ||
the description should be something which makes sense | ||
the description should include that only thick lines should be drawn | ||
The image description is | ||
<INPUT> | ||
New image description: | ||
|
||
|
||
|
||
|
||
Output: |
6 changes: 6 additions & 0 deletions
6
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/over0_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Input: | ||
|
||
|
||
|
||
|
||
Output: |
Binary file added
BIN
+24.6 KB
...peline/documentation/2024_05_13_16_42_59/history/over0_history_output_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions
6
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/rand0_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Input: | ||
|
||
|
||
|
||
|
||
Output: |
Binary file added
BIN
+25.1 KB
...ipeline/documentation/2024_05_13_16_42_59/history/rand0_history_input_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.1 KB
...peline/documentation/2024_05_13_16_42_59/history/rand0_history_output_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/simp0_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Input: | ||
|
||
|
||
|
||
|
||
Output: | ||
You are a very creative artist. | ||
Thing of something extraordinary. | ||
thing of something what you can add to this image to make it magic and special | ||
think in a way that inspires people and which makes them happy | ||
do not describe the style of the new image mention that no areas should be filled and style is black and white linestyle | ||
be very creative for example to a house you could add a garden or to a car a trailer you can even draw a truck out of a car | ||
the description should be something which makes sense | ||
the description should include that only thick lines should be drawn | ||
The image description is |
8 changes: 8 additions & 0 deletions
8
code/ai_pipeline/documentation/2024_05_13_16_42_59/history/simp1_history.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Input: | ||
|
||
|
||
|
||
|
||
Output: | ||
<INPUT> | ||
New image description: |
24 changes: 24 additions & 0 deletions
24
code/ai_pipeline/documentation/2024_05_13_16_42_59/model/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"llm-path": "./weights/llm/llama-2-7b-chat.ggmlv3.q8_0.bin", | ||
"llm-model": "mistral", | ||
"llm-layers": 15, | ||
|
||
"stable-config-path": "./model/layers/stable.json", | ||
"stable-path": "runwayml/stable-diffusion-v1-5", | ||
"docu-path": "./documentation/", | ||
"original-image-path": "./images/test.jpg", | ||
"random-line-cache": "./images/rand.jpg", | ||
|
||
"output-image-name": "output.png", | ||
|
||
"merge-output-folder": "./images/output/", | ||
|
||
"string0": "./model/layers/string0.txt", | ||
"string1": "./model/layers/string1.txt", | ||
|
||
"network-file": "./model/network.py" | ||
} | ||
|
||
|
||
|
||
|
6 changes: 6 additions & 0 deletions
6
code/ai_pipeline/documentation/2024_05_13_16_42_59/model/layers/stable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"imagePath": "./images/rand.jpg", | ||
"cache": "./images/testCache.jpg", | ||
"guidance_scale": 7, | ||
"strength": 0.7 | ||
} |
9 changes: 9 additions & 0 deletions
9
code/ai_pipeline/documentation/2024_05_13_16_42_59/model/layers/string0.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
You are a very creative artist. | ||
Thing of something extraordinary. | ||
thing of something what you can add to this image to make it magic and special | ||
think in a way that inspires people and which makes them happy | ||
do not describe the style of the new image mention that no areas should be filled and style is black and white linestyle | ||
be very creative for example to a house you could add a garden or to a car a trailer you can even draw a truck out of a car | ||
the description should be something which makes sense | ||
the description should include that only thick lines should be drawn | ||
The image description is |
2 changes: 2 additions & 0 deletions
2
code/ai_pipeline/documentation/2024_05_13_16_42_59/model/layers/string1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<INPUT> | ||
New image description: |
29 changes: 29 additions & 0 deletions
29
code/ai_pipeline/documentation/2024_05_13_16_42_59/model/network.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from utils.layers import * | ||
import json | ||
|
||
|
||
settings = json.load( open( "./model/config.json", "r") ) | ||
|
||
input_image = settings[ "original-image-path" ] | ||
|
||
|
||
inp = Interrogator( "inter1", input_image ) | ||
rand = RandomLineDrawer( "rand0", None, input_image, settings[ "random-line-cache" ], pen_size = 5, num_random_lines = 20 ) | ||
|
||
simp0 = SimpleString( "simp0", settings[ "string0" ] ) | ||
simp1 = SimpleString( "simp1", settings[ "string1" ] ) | ||
|
||
merg = Merger( "merg1", [ simp0, simp1 ] ) | ||
|
||
llm = LLM( "llm1", prompt = merg, prevElement = inp, prevElementKey = "<INPUT>" ) | ||
|
||
diff = StableDiffusion( "diff1", settings[ "stable-config-path" ], llm, rand ) | ||
|
||
over = Overlapper( "over0", | ||
diff, | ||
input_image, | ||
"./images/testCache.jpg", | ||
mergedOutputFolder = settings[ "merge-output-folder" ], | ||
outputImageName = settings[ "output-image-name" ] ) | ||
|
||
model = Model( over ) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.