This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
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
f4efce8
commit 92dd294
Showing
117 changed files
with
1,199 additions
and
19 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
code/ai_pipeline/documentation/2024_04_24_10_28_21/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,18 @@ | ||
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: | ||
Think in black and white linestyle, no areas should be filled. Adding to the image will make it magical and special. Imagine a tall mountain landscape with snowy peaks rising high into the sky. In the foreground there are large boulders scattered across the ground, some of them have small trees growing out of them. A thick mist rises from behind the mountains |
17 changes: 17 additions & 0 deletions
17
code/ai_pipeline/documentation/2024_04_24_10_28_21/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: |
15 changes: 15 additions & 0 deletions
15
code/ai_pipeline/documentation/2024_04_24_10_28_21/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_04_24_10_28_21/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_04_24_10_28_21/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_04_24_10_28_21/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.65 | ||
} |
9 changes: 9 additions & 0 deletions
9
code/ai_pipeline/documentation/2024_04_24_10_28_21/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_04_24_10_28_21/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_04_24_10_28_21/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", inp, input_image, settings[ "random-line-cache" ], pen_size = 4, num_random_lines = 10 ) | ||
|
||
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 ) |
18 changes: 18 additions & 0 deletions
18
code/ai_pipeline/documentation/2024_04_24_10_39_31/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,18 @@ | ||
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: | ||
You have created an extraordinary black and white linestyle image of a tree in the middle of a vast desert landscape. The tree stands tall with long thin branches that sway gently in the breeze. Surrounding it are rolling sand dunes, some as high as ten feet. The sky above is a brilliant blue with fluffy clouds drifting by. In the distance you can see mountains |
17 changes: 17 additions & 0 deletions
17
code/ai_pipeline/documentation/2024_04_24_10_39_31/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: |
15 changes: 15 additions & 0 deletions
15
code/ai_pipeline/documentation/2024_04_24_10_39_31/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_04_24_10_39_31/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_04_24_10_39_31/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_04_24_10_39_31/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.65 | ||
} |
9 changes: 9 additions & 0 deletions
9
code/ai_pipeline/documentation/2024_04_24_10_39_31/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_04_24_10_39_31/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_04_24_10_39_31/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", inp, input_image, settings[ "random-line-cache" ], pen_size = 4, num_random_lines = 10 ) | ||
|
||
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 ) |
19 changes: 19 additions & 0 deletions
19
code/ai_pipeline/documentation/2024_04_24_10_41_28/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 | ||
<INPUT> | ||
New image description: | ||
|
||
|
||
|
||
|
||
Output: | ||
|
||
You have created an extraordinary image. In the center, there's a huge castle surrounded by high walls and tall towers. It looks like it has been standing for centuries, guarded by ancient mythical creatures that are depicted on its stone walls. The castle is surrounded by a lush green forest with trees reaching up to the sky, as if trying to touch the clouds |
17 changes: 17 additions & 0 deletions
17
code/ai_pipeline/documentation/2024_04_24_10_41_28/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: |
15 changes: 15 additions & 0 deletions
15
code/ai_pipeline/documentation/2024_04_24_10_41_28/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_04_24_10_41_28/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_04_24_10_41_28/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_04_24_10_41_28/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.65 | ||
} |
9 changes: 9 additions & 0 deletions
9
code/ai_pipeline/documentation/2024_04_24_10_41_28/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_04_24_10_41_28/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: |
Oops, something went wrong.