2023-02-28 08:30:03 -07:00
|
|
|
Skip to content
|
|
|
|
Search or jump to…
|
|
|
|
Pull requests
|
|
|
|
Issues
|
|
|
|
Codespaces
|
|
|
|
Marketplace
|
|
|
|
Explore
|
|
|
|
|
|
|
|
@nawnie
|
|
|
|
nawnie
|
|
|
|
/
|
|
|
|
EveryDream2trainer
|
|
|
|
Public
|
|
|
|
forked from victorchall/EveryDream2trainer
|
|
|
|
Cannot fork because you own this repository and are not a member of any organizations.
|
|
|
|
Code
|
|
|
|
Pull requests
|
|
|
|
Actions
|
|
|
|
Projects
|
|
|
|
Wiki
|
|
|
|
Security
|
|
|
|
Insights
|
|
|
|
Settings
|
|
|
|
EveryDream2trainer
|
|
|
|
/
|
|
|
|
Train_Colab.ipynb
|
|
|
|
in
|
|
|
|
main
|
|
|
|
|
|
|
|
|
|
|
|
Spaces
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
|
No wrap
|
|
|
|
1
|
2023-01-21 23:16:30 -07:00
|
|
|
{
|
2023-02-28 08:30:03 -07:00
|
|
|
2
|
2023-01-21 23:16:30 -07:00
|
|
|
"cells": [
|
2023-02-28 08:30:03 -07:00
|
|
|
3
|
2023-01-21 23:16:30 -07:00
|
|
|
{
|
2023-02-28 08:30:03 -07:00
|
|
|
4
|
2023-01-21 23:16:30 -07:00
|
|
|
"cell_type": "markdown",
|
2023-02-28 08:30:03 -07:00
|
|
|
5
|
2023-01-21 23:16:30 -07:00
|
|
|
"metadata": {
|
2023-02-28 08:30:03 -07:00
|
|
|
6
|
2023-02-27 18:08:50 -07:00
|
|
|
"id": "view-in-github",
|
2023-02-28 08:30:03 -07:00
|
|
|
7
|
2023-02-27 18:08:50 -07:00
|
|
|
"colab_type": "text"
|
2023-02-28 08:30:03 -07:00
|
|
|
8
|
2023-01-21 23:16:30 -07:00
|
|
|
},
|
2023-02-28 08:30:03 -07:00
|
|
|
9
|
2023-01-21 23:16:30 -07:00
|
|
|
"source": [
|
2023-02-28 08:30:03 -07:00
|
|
|
10
|
2023-01-23 20:03:48 -07:00
|
|
|
"<a href=\"https://colab.research.google.com/github/nawnie/EveryDream2trainer/blob/main/Train_Colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
2023-02-28 08:30:03 -07:00
|
|
|
11
|
2023-01-21 23:16:30 -07:00
|
|
|
]
|
2023-02-28 08:30:03 -07:00
|
|
|
12
|
2023-01-21 23:16:30 -07:00
|
|
|
},
|
2023-02-28 08:30:03 -07:00
|
|
|
13
|
2023-01-21 23:16:30 -07:00
|
|
|
{
|
2023-02-28 08:30:03 -07:00
|
|
|
14
|
2023-01-21 23:16:30 -07:00
|
|
|
"cell_type": "markdown",
|
2023-02-28 08:30:03 -07:00
|
|
|
15
|
2023-01-21 23:16:30 -07:00
|
|
|
"metadata": {
|
2023-02-28 08:30:03 -07:00
|
|
|
16
|
2023-01-21 23:16:30 -07:00
|
|
|
"id": "blaLMSbkPHhG"
|
2023-02-28 08:30:03 -07:00
|
|
|
17
|
2023-01-21 23:16:30 -07:00
|
|
|
},
|
2023-02-28 08:30:03 -07:00
|
|
|
18
|
2023-01-21 23:16:30 -07:00
|
|
|
"source": [
|
2023-02-28 08:30:03 -07:00
|
|
|
19
|
2023-01-22 22:12:03 -07:00
|
|
|
"# EveryDream2 Colab Edition\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
20
|
2023-01-22 22:12:03 -07:00
|
|
|
"\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
21
|
2023-01-22 22:12:03 -07:00
|
|
|
"Check out documentation here: https://github.com/victorchall/EveryDream2trainer#docs\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
22
|
2023-01-22 22:12:03 -07:00
|
|
|
"\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
23
|
2023-01-22 22:12:03 -07:00
|
|
|
"And join the discord: https://discord.gg/uheqxU6sXN"
|
2023-02-28 08:30:03 -07:00
|
|
|
24
|
2023-01-21 23:16:30 -07:00
|
|
|
]
|
2023-02-28 08:30:03 -07:00
|
|
|
25
|
2023-01-21 23:16:30 -07:00
|
|
|
},
|
2023-02-28 08:30:03 -07:00
|
|
|
26
|
2023-01-21 23:16:30 -07:00
|
|
|
{
|
2023-02-28 08:30:03 -07:00
|
|
|
27
|
2023-01-21 23:16:30 -07:00
|
|
|
"cell_type": "code",
|
2023-02-28 08:30:03 -07:00
|
|
|
28
|
2023-01-21 23:16:30 -07:00
|
|
|
"execution_count": null,
|
2023-02-28 08:30:03 -07:00
|
|
|
29
|
2023-01-21 23:16:30 -07:00
|
|
|
"metadata": {
|
2023-02-28 08:30:03 -07:00
|
|
|
30
|
2023-01-22 11:01:18 -07:00
|
|
|
"cellView": "form",
|
2023-02-28 08:30:03 -07:00
|
|
|
31
|
2023-01-22 11:01:18 -07:00
|
|
|
"id": "WsYIcz9HY9lx"
|
2023-02-28 08:30:03 -07:00
|
|
|
32
|
2023-01-21 23:16:30 -07:00
|
|
|
},
|
2023-02-28 08:30:03 -07:00
|
|
|
33
|
2023-01-21 23:16:30 -07:00
|
|
|
"outputs": [],
|
2023-02-28 08:30:03 -07:00
|
|
|
34
|
2023-01-21 23:16:30 -07:00
|
|
|
"source": [
|
2023-02-28 08:30:03 -07:00
|
|
|
35
|
2023-01-21 23:16:30 -07:00
|
|
|
"#@title # Install python 3.10 \n",
|
2023-02-28 08:30:03 -07:00
|
|
|
36
|
2023-01-25 20:37:39 -07:00
|
|
|
"#@markdown # This will show a runtime error, its ok, its on purpose to restart the kernel to update python.\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
37
|
2023-01-21 23:16:30 -07:00
|
|
|
"import os\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
38
|
2023-02-17 09:02:24 -07:00
|
|
|
"import time\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
39
|
2023-01-21 23:16:30 -07:00
|
|
|
"from IPython.display import clear_output\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
40
|
2023-01-21 23:16:30 -07:00
|
|
|
"!wget https://github.com/korakot/kora/releases/download/v0.10/py310.sh\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
41
|
2023-01-21 23:16:30 -07:00
|
|
|
"!bash ./py310.sh -b -f -p /usr/local\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
42
|
2023-01-21 23:16:30 -07:00
|
|
|
"!python -m ipykernel install --name \"py310\" --user\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
43
|
2023-01-21 23:54:00 -07:00
|
|
|
"clear_output()\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
44
|
2023-02-17 09:02:24 -07:00
|
|
|
"time.sleep(1) #needed to clear is before kill\n",
|
2023-02-28 08:30:03 -07:00
|
|
|
45
|
2023-01-21 23:16:30 -07:00
|
|
|
"os.kill(os.getpid(), 9)"
|
2023-02-28 08:30:03 -07:00
|
|
|
@nawnie
|
|
|
|
Commit changes
|
|
|
|
Commit summary
|
|
|
|
Create Train_Colab.ipynb
|
|
|
|
Optional extended description
|
|
|
|
Add an optional extended description…
|
|
|
|
Commit directly to the main branch.
|
|
|
|
Create a new branch for this commit and start a pull request. Learn more about pull requests.
|
|
|
|
|
|
|
|
Footer
|
|
|
|
© 2023 GitHub, Inc.
|
|
|
|
Footer navigation
|
|
|
|
Terms
|
|
|
|
Privacy
|
|
|
|
Security
|
|
|
|
Status
|
|
|
|
Docs
|
|
|
|
Contact GitHub
|
|
|
|
Pricing
|
|
|
|
API
|
|
|
|
Training
|
|
|
|
Blog
|
|
|
|
About
|