aiauto-client 0.1.15__py3-none-any.whl → 0.1.16__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.
- {aiauto_client-0.1.15.dist-info → aiauto_client-0.1.16.dist-info}/METADATA +7 -5
- {aiauto_client-0.1.15.dist-info → aiauto_client-0.1.16.dist-info}/RECORD +4 -4
- {aiauto_client-0.1.15.dist-info → aiauto_client-0.1.16.dist-info}/WHEEL +0 -0
- {aiauto_client-0.1.15.dist-info → aiauto_client-0.1.16.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: aiauto-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.16
|
4
4
|
Summary: AI Auto HPO (Hyperparameter Optimization) Client Library
|
5
5
|
Author-email: AIAuto Team <ainode@zeroone.ai>
|
6
6
|
Project-URL: Homepage, https://dashboard.common.aiauto.pangyo.ainode.ai
|
@@ -121,7 +121,7 @@ Jupyter Notebook이나 Python REPL에서 정의한 함수는 Serialize 할 수
|
|
121
121
|
import aiauto
|
122
122
|
import optuna
|
123
123
|
|
124
|
-
def objective(trial
|
124
|
+
def objective(trial):
|
125
125
|
"""
|
126
126
|
이 함수는 외부 서버에서 실행됩니다.
|
127
127
|
모든 import는 함수 내부에 작성하세요.
|
@@ -170,7 +170,7 @@ time.sleep(5)
|
|
170
170
|
# `https://dashboard.common.aiauto.pangyo.ainode.ai/study` 에서 생성된 study 확인 가능
|
171
171
|
|
172
172
|
# objective 함수 정의
|
173
|
-
def objective(trial
|
173
|
+
def objective(trial):
|
174
174
|
"""실제 실행은 사용자 로컬 컴퓨터가 아닌 서버에서 실행 될 함수"""
|
175
175
|
x = trial.suggest_float('x', -10, 10)
|
176
176
|
y = trial.suggest_float('y', -10, 10)
|
@@ -214,7 +214,7 @@ time.sleep(5)
|
|
214
214
|
|
215
215
|
# objective 함수 정의
|
216
216
|
# https://docs.pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html 참고
|
217
|
-
def objective(trial
|
217
|
+
def objective(trial):
|
218
218
|
"""
|
219
219
|
실제 실행은 사용자 로컬 컴퓨터가 아닌 서버에서 실행 될 함수
|
220
220
|
모든 import는 함수 내부에 존재해야 함
|
@@ -224,6 +224,8 @@ def objective(trial: optuna.trial.Trial):
|
|
224
224
|
from torch.utils.data import DataLoader, random_split, Subset
|
225
225
|
from torchvision import transforms, datasets
|
226
226
|
import torch.nn.functional as F
|
227
|
+
|
228
|
+
import optuna
|
227
229
|
|
228
230
|
# 하이퍼파라미터 샘플링
|
229
231
|
lr = trial.suggest_float('learning_rate', 1e-5, 1e-1, log=True)
|
@@ -349,7 +351,7 @@ time.sleep(5)
|
|
349
351
|
|
350
352
|
# objective 함수 정의
|
351
353
|
# https://docs.pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html 참고
|
352
|
-
def objective(trial
|
354
|
+
def objective(trial):
|
353
355
|
"""
|
354
356
|
실제 실행은 사용자 로컬 컴퓨터가 아닌 서버에서 실행 될 함수
|
355
357
|
모든 import는 함수 내부에 존재해야 함
|
@@ -4,7 +4,7 @@ aiauto/constants.py,sha256=rBibGOQHHrdkwaai92-3I8-N0cu-B4CoCoQbG9-Cl8k,821
|
|
4
4
|
aiauto/core.py,sha256=Hz3HP6xJGey6LbF04cYQtPPqerf4LhDgt0BVBPPf0j4,10364
|
5
5
|
aiauto/http_client.py,sha256=v_nPdb-2tIeH1XrOYqzMGvFfXLKEDbQoSaQYPsB0Hik,2587
|
6
6
|
aiauto/serializer.py,sha256=BJmeq6uCD9D2_6bXu_sMBQLSsXCUMIMM10iX923DTXE,2749
|
7
|
-
aiauto_client-0.1.
|
8
|
-
aiauto_client-0.1.
|
9
|
-
aiauto_client-0.1.
|
10
|
-
aiauto_client-0.1.
|
7
|
+
aiauto_client-0.1.16.dist-info/METADATA,sha256=Lc0WSJ4UFunxbOLJWm-0K9thPPJl98ijomAJpvG2knI,25625
|
8
|
+
aiauto_client-0.1.16.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
9
|
+
aiauto_client-0.1.16.dist-info/top_level.txt,sha256=Sk2ctO9_Bf_tAPwq1x6Vfl6OuL29XzwMTO4F_KG6oJE,7
|
10
|
+
aiauto_client-0.1.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|