mg-pso-gui 0.1.165__py3-none-any.whl → 0.1.167__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.1.165.dist-info → mg_pso_gui-0.1.167.dist-info}/METADATA +9 -10
- {mg_pso_gui-0.1.165.dist-info → mg_pso_gui-0.1.167.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +1 -1
- mgpsogui/util/GraphGenerator.py +4 -4
- {mg_pso_gui-0.1.165.dist-info → mg_pso_gui-0.1.167.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.165.dist-info → mg_pso_gui-0.1.167.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.165.dist-info → mg_pso_gui-0.1.167.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mg-pso-gui
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.167
|
4
4
|
Summary: GUI for MG-PSO
|
5
5
|
Author: Robert Cordingly
|
6
6
|
Author-email: <rcording@uw.ed>
|
@@ -23,7 +23,7 @@ Requires-Dist: csip-cosu
|
|
23
23
|
Requires-Dist: kaleido
|
24
24
|
Requires-Dist: pillow
|
25
25
|
|
26
|
-
# Multigroup PSO
|
26
|
+
# Multigroup PSO GUI
|
27
27
|
|
28
28
|
This application provides an interface for setting up, configuring, running, and the visualization of multigroup PSO training.
|
29
29
|
|
@@ -49,7 +49,7 @@ mgpsogui
|
|
49
49
|
|
50
50
|
You may need to add a folder to PATH.
|
51
51
|
|
52
|
-
**Note:** If you run into an error saying that PIL.Image was not able to be imported on Ubuntu please force reinstall Pillow.
|
52
|
+
**Note:** If you run into an error saying that PIL.Image was not able to be imported on Ubuntu please force reinstall Pillow.
|
53
53
|
|
54
54
|
```bash
|
55
55
|
python3 -m pip install --upgrade --force-reinstall Pillow
|
@@ -57,7 +57,7 @@ python3 -m pip install --upgrade --force-reinstall Pillow
|
|
57
57
|
|
58
58
|
## Instructions for Windows
|
59
59
|
|
60
|
-
Download and install Python 3.10 through the Microsoft Store, this makes Python easily accessible in Windows Terminal.
|
60
|
+
Download and install Python 3.10 through the Microsoft Store, this makes Python easily accessible in Windows Terminal.
|
61
61
|
|
62
62
|
Once installed run this command to install the interface:
|
63
63
|
|
@@ -79,7 +79,7 @@ C:\Users\robertcordingly\AppData\Local\Packages\PythonSoftwareFoundation.Python.
|
|
79
79
|
|
80
80
|
## Instructions for MacOS
|
81
81
|
|
82
|
-
To install Tkinter and Python 3 it is best to use Homebrew:
|
82
|
+
To install Tkinter and Python 3 it is best to use Homebrew:
|
83
83
|
|
84
84
|
Install Homebrew
|
85
85
|
|
@@ -103,15 +103,15 @@ Then install MG PSO Gui:
|
|
103
103
|
python3 -m pip install mg-pso-gui
|
104
104
|
```
|
105
105
|
|
106
|
-
You may need to add /Library/Frameworks/Python.framework/Versions/3.
|
106
|
+
You may need to add /Library/Frameworks/Python.framework/Versions/3.10/bin to path to run the interface with 'mgpsogui,' otherwise run the interface:
|
107
107
|
|
108
108
|
```bash
|
109
|
-
/Library/Frameworks/Python.framework/Versions/3.
|
109
|
+
/Library/Frameworks/Python.framework/Versions/3.10/bin/mgpsogui
|
110
110
|
```
|
111
111
|
|
112
112
|
# Getting Started
|
113
113
|
|
114
|
-
After getting the GUI to launch, it is first recommended to start with one of the default config files. Default config files are available here: https://drive.google.com/file/d/1Ra4Um7KgCghMidyrrLrD6wFSXJZd3zkX/view?usp=share_link
|
114
|
+
After getting the GUI to launch, it is first recommended to start with one of the default config files. Default config files are available here: https://drive.google.com/file/d/1Ra4Um7KgCghMidyrrLrD6wFSXJZd3zkX/view?usp=share_link
|
115
115
|
|
116
116
|
To load a config simply click the "load" button in the left side bar and select the file using the file picker. After a config has been loaded, enter a service URL, and click "Connect". If the connection is successful the other tabs on the interface will be unlocked and you will have full access to all of the interface's features.
|
117
117
|
|
@@ -123,7 +123,7 @@ Each tab of the interface serves a different purpose described here.
|
|
123
123
|
|
124
124
|
The platform tab is where you defined the backend service used to train the model. If the service already exists, simply add the URL to the service field and press connect to get parameters from the service. After doing this the other tabs will unlock.
|
125
125
|
|
126
|
-
If you do not already have a backend service deployed, the platform tab provides tools to create a local environment using Docker and Minikube.
|
126
|
+
If you do not already have a backend service deployed, the platform tab provides tools to create a local environment using Docker and Minikube.
|
127
127
|
|
128
128
|
## Setup
|
129
129
|
|
@@ -329,4 +329,3 @@ The Visualize tab allows you to generate a variety of different graphs and table
|
|
329
329
|
]
|
330
330
|
}
|
331
331
|
```
|
332
|
-
|
@@ -1,7 +1,7 @@
|
|
1
1
|
mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
|
2
2
|
mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
|
3
3
|
mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
|
4
|
-
mgpsogui/gui/HomePage.py,sha256=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=HQX_loDEwV3aQQAEIyiUlSAJ7-EDPKC7r6EvfgLy4sM,22556
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=36_MlFd6nLt6xd6HHE2sHtL8oW7VBOZbCvJ8er-wWJ4,12544
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
|
@@ -32,7 +32,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
|
|
32
32
|
mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
|
33
33
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
34
34
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
35
|
-
mgpsogui/util/GraphGenerator.py,sha256
|
35
|
+
mgpsogui/util/GraphGenerator.py,sha256=nKviGGhN2FZhW28hzkhv8qGmtCBtlUMZOCifH2vY5SA,17222
|
36
36
|
mgpsogui/util/PSORunner.py,sha256=sWgickFGl97p3ybWz97LR5qeYhnNqryKx5nWAa-NhwA,6306
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
mgpsogui/util/debug.py,sha256=Swzny9_1S-CCONWGssj9iDoSpbwu5Vr4f95g_9L8bec,19759
|
@@ -58,8 +58,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
58
58
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
59
59
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
60
60
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
61
|
-
mg_pso_gui-0.1.
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
61
|
+
mg_pso_gui-0.1.167.dist-info/METADATA,sha256=TKZxoj-iX9dHKXPaBlQbo3cdF6iNSBRGUHivJ91I3Mc,9456
|
62
|
+
mg_pso_gui-0.1.167.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
63
|
+
mg_pso_gui-0.1.167.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
64
|
+
mg_pso_gui-0.1.167.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
65
|
+
mg_pso_gui-0.1.167.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -50,7 +50,7 @@ from .VisualizeTab import VisualizeTab as vt
|
|
50
50
|
|
51
51
|
from ..util.CTkToolTip import CTkToolTip as ctt
|
52
52
|
|
53
|
-
customtkinter.set_appearance_mode("
|
53
|
+
customtkinter.set_appearance_mode("System") # Modes: "System" (standard), "Dark", "Light"
|
54
54
|
customtkinter.set_default_color_theme("blue") # Themes: "blue" (standard), "green", "dark-blue"
|
55
55
|
|
56
56
|
results_queue = Queue()
|
mgpsogui/util/GraphGenerator.py
CHANGED
@@ -460,11 +460,11 @@ def sampling_csv(homepage, option_manager):
|
|
460
460
|
|
461
461
|
yy = pd.to_numeric(data[val], errors="coerce")
|
462
462
|
|
463
|
-
yy_unit = "
|
463
|
+
yy_unit = ""
|
464
464
|
|
465
465
|
yy2 = pd.to_numeric(data[val2], errors="coerce")
|
466
466
|
|
467
|
-
yy2_unit = "
|
467
|
+
yy2_unit = ""
|
468
468
|
|
469
469
|
fig.add_trace(go.Scatter(x=xx, y=yy, name=val, mode='markers'))
|
470
470
|
fig.add_trace(go.Scatter(x=xx, y=yy2, name=val2, yaxis='y2', mode='markers'))
|
@@ -481,13 +481,13 @@ def sampling_csv(homepage, option_manager):
|
|
481
481
|
gridwidth=1
|
482
482
|
),
|
483
483
|
yaxis=dict(
|
484
|
-
title=val
|
484
|
+
title=val,
|
485
485
|
autorange=True,
|
486
486
|
gridcolor='rgb(72, 72, 72)',
|
487
487
|
gridwidth=0.1
|
488
488
|
),
|
489
489
|
yaxis2=dict(
|
490
|
-
title=val2
|
490
|
+
title=val2,
|
491
491
|
overlaying='y',
|
492
492
|
side='right'
|
493
493
|
)
|
File without changes
|
File without changes
|
File without changes
|