|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>442</width> |
10 | | - <height>449</height> |
| 9 | + <width>394</width> |
| 10 | + <height>378</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <layout class="QVBoxLayout" name="verticalLayout"> |
14 | 14 | <item> |
15 | 15 | <widget class="QFrame" name="frame"> |
16 | | - <property name="minimumSize"> |
17 | | - <size> |
18 | | - <width>0</width> |
19 | | - <height>30</height> |
20 | | - </size> |
21 | | - </property> |
22 | 16 | <property name="frameShape"> |
23 | 17 | <enum>QFrame::StyledPanel</enum> |
24 | 18 | </property> |
|
29 | 23 | <item row="0" column="0"> |
30 | 24 | <widget class="QLabel" name="label_7"> |
31 | 25 | <property name="text"> |
32 | | - <string>PyTorch:</string> |
| 26 | + <string>Torch:</string> |
33 | 27 | </property> |
34 | 28 | </widget> |
35 | 29 | </item> |
|
41 | 35 | </widget> |
42 | 36 | </item> |
43 | 37 | <item row="1" column="0"> |
44 | | - <widget class="QLabel" name="label_8"> |
| 38 | + <widget class="QLabel" name="label_11"> |
45 | 39 | <property name="text"> |
46 | | - <string>NVIDIA driver:</string> |
| 40 | + <string>TorchVision:</string> |
47 | 41 | </property> |
48 | 42 | </widget> |
49 | 43 | </item> |
50 | 44 | <item row="1" column="1"> |
51 | | - <widget class="QLabel" name="nvidiaVersionInformation"> |
| 45 | + <widget class="QLabel" name="torchvisionVersionInformation"> |
52 | 46 | <property name="text"> |
53 | 47 | <string/> |
54 | 48 | </property> |
55 | 49 | </widget> |
56 | 50 | </item> |
57 | 51 | <item row="2" column="0"> |
58 | | - <widget class="QLabel" name="label_11"> |
| 52 | + <widget class="QLabel" name="label_8"> |
59 | 53 | <property name="text"> |
60 | | - <string>TorchVision:</string> |
| 54 | + <string>NVIDIA driver:</string> |
61 | 55 | </property> |
62 | 56 | </widget> |
63 | 57 | </item> |
64 | 58 | <item row="2" column="1"> |
65 | | - <widget class="QLabel" name="torchvisionVersionInformation"> |
| 59 | + <widget class="QLabel" name="nvidiaVersionInformation"> |
66 | 60 | <property name="text"> |
67 | 61 | <string/> |
68 | 62 | </property> |
|
80 | 74 | <item row="0" column="0"> |
81 | 75 | <widget class="QLabel" name="label_9"> |
82 | 76 | <property name="text"> |
83 | | - <string>PyTorch version requirement:</string> |
| 77 | + <string>Torch version requirement:</string> |
84 | 78 | </property> |
85 | 79 | </widget> |
86 | 80 | </item> |
87 | 81 | <item row="0" column="1"> |
88 | 82 | <widget class="QLineEdit" name="torchVersionLineEdit"> |
89 | 83 | <property name="toolTip"> |
90 | | - <string>Optional version requirement for installing PyTorch. For example, to install PyTorch version 1.12 or later, set this to ">=1.12". The field has no effect if PyTorch is already installed.</string> |
| 84 | + <string>Optional version requirement for installing Torch. For example, to install TorchVision version to earlier than 2.0, set this to "<2.0". The field has no effect if PyTorch is already installed.</string> |
91 | 85 | </property> |
92 | 86 | <property name="placeholderText"> |
93 | 87 | <string>default</string> |
94 | 88 | </property> |
95 | 89 | </widget> |
96 | 90 | </item> |
97 | | - <item row="3" column="0"> |
| 91 | + <item row="1" column="0"> |
| 92 | + <widget class="QLabel" name="label_10"> |
| 93 | + <property name="text"> |
| 94 | + <string>TorchVision version requirement:</string> |
| 95 | + </property> |
| 96 | + </widget> |
| 97 | + </item> |
| 98 | + <item row="1" column="1"> |
| 99 | + <widget class="QLineEdit" name="torchvisionVersionLineEdit"> |
| 100 | + <property name="toolTip"> |
| 101 | + <string>Optional version requirement for installing TorchVision. For example, to install TorchVision version 1.12 or later, set this to ">=1.12". The field has no effect if PyTorch is already installed.</string> |
| 102 | + </property> |
| 103 | + <property name="placeholderText"> |
| 104 | + <string>default</string> |
| 105 | + </property> |
| 106 | + </widget> |
| 107 | + </item> |
| 108 | + <item row="2" column="0"> |
98 | 109 | <widget class="QLabel" name="label_6"> |
99 | 110 | <property name="text"> |
100 | 111 | <string>Computation backend:</string> |
101 | 112 | </property> |
102 | 113 | </widget> |
103 | 114 | </item> |
104 | | - <item row="3" column="1"> |
| 115 | + <item row="2" column="1"> |
105 | 116 | <layout class="QHBoxLayout" name="horizontalLayout"> |
106 | 117 | <item> |
107 | 118 | <widget class="QComboBox" name="backendComboBox"> |
|
141 | 152 | </item> |
142 | 153 | </layout> |
143 | 154 | </item> |
144 | | - <item row="5" column="0" colspan="2"> |
| 155 | + <item row="3" column="0" colspan="2"> |
145 | 156 | <widget class="QPushButton" name="installPushButton"> |
146 | | - <property name="text"> |
147 | | - <string>Install PyTorch</string> |
148 | | - </property> |
149 | | - </widget> |
150 | | - </item> |
151 | | - <item row="6" column="0" colspan="2"> |
152 | | - <widget class="QPushButton" name="uninstallPushButton"> |
153 | | - <property name="text"> |
154 | | - <string>Uninstall PyTorch</string> |
155 | | - </property> |
156 | | - </widget> |
157 | | - </item> |
158 | | - <item row="7" column="0" colspan="2"> |
159 | | - <widget class="QPushButton" name="restartPushButton"> |
160 | 157 | <property name="toolTip"> |
161 | | - <string>Restart Slicer. If PyTorch is in use, the application must be restarted before it can be uninstalled.</string> |
| 158 | + <string>Install Torch and TorchVision</string> |
162 | 159 | </property> |
163 | 160 | <property name="text"> |
164 | | - <string>Restart the application</string> |
165 | | - </property> |
166 | | - </widget> |
167 | | - </item> |
168 | | - <item row="2" column="0"> |
169 | | - <widget class="QLabel" name="label_10"> |
170 | | - <property name="text"> |
171 | | - <string>TorchVision version requirement</string> |
| 161 | + <string>Install PyTorch</string> |
172 | 162 | </property> |
173 | 163 | </widget> |
174 | 164 | </item> |
175 | | - <item row="2" column="1"> |
176 | | - <widget class="QLineEdit" name="torchvisionVersionLineEdit"> |
177 | | - <property name="placeholderText"> |
178 | | - <string>default</string> |
179 | | - </property> |
180 | | - </widget> |
| 165 | + <item row="4" column="0" colspan="2"> |
| 166 | + <layout class="QHBoxLayout" name="horizontalLayout_3"> |
| 167 | + <item> |
| 168 | + <widget class="QPushButton" name="uninstallPushButton"> |
| 169 | + <property name="toolTip"> |
| 170 | + <string>Uninstall Torch and TorchVision. Application restart may be required.</string> |
| 171 | + </property> |
| 172 | + <property name="text"> |
| 173 | + <string>Uninstall PyTorch</string> |
| 174 | + </property> |
| 175 | + </widget> |
| 176 | + </item> |
| 177 | + <item> |
| 178 | + <widget class="QPushButton" name="restartPushButton"> |
| 179 | + <property name="toolTip"> |
| 180 | + <string>Restart Slicer. If Torch is in use, the application must be restarted before it can be uninstalled.</string> |
| 181 | + </property> |
| 182 | + <property name="text"> |
| 183 | + <string>Restart the application</string> |
| 184 | + </property> |
| 185 | + </widget> |
| 186 | + </item> |
| 187 | + </layout> |
181 | 188 | </item> |
182 | 189 | </layout> |
183 | 190 | </widget> |
|
0 commit comments