Commit Graph

592 Commits

Author SHA1 Message Date
allegroai
de61dbf54e Fix offline mode to support python3.5 2020-08-08 12:47:08 +03:00
allegroai
2c68a188d9 Fix multiprocessing Pool throw exception in pool would hang the program. Call original signal handler and re-flush stdout.
Add py2.7 support for get_current_thread_id.
2020-08-08 12:45:15 +03:00
allegroai
48ef50d41d Add session API version to exported tasks 2020-08-08 12:43:12 +03:00
allegroai
fa4803cb82 Fix log level for trains submodules 2020-08-08 12:42:32 +03:00
allegroai
ff736a76c9 Fix GPU stats on Windows machines (issue #177) 2020-08-08 12:40:32 +03:00
allegroai
35fa4f010a Add Optimizer min_iteration_per_job for all SearchStrategies 2020-08-08 12:39:56 +03:00
allegroai
ef83a648eb Support Task get_model_config/set_model_config legacy model configuration interface 2020-08-08 12:38:46 +03:00
allegroai
f4f53902ed Add sdk.development.log_os_environments to match TRAINS_LOG_ENVIRONMENT
Support logging OS environments into Environment section
2020-08-08 12:37:42 +03:00
allegroai
f89ec8cbac Avoid using "tasks." outside of a function as it triggers a Session 2020-08-08 12:35:57 +03:00
allegroai
e378de1e41 Add multi configuration section support (hyperparams and configurations)
Support setting offline mode API version using TRAINS_OFFLINE_MODE env var
2020-08-08 12:35:03 +03:00
allegroai
6d4e85de0a Add Trains Server API v2.9 support 2020-08-08 12:31:20 +03:00
allegroai
e4801542f5 Moved dict parsing in/out (hocon) into utilities.config 2020-08-08 12:28:59 +03:00
allegroai
6dca60aef2 Fix duplicate argument 2020-07-30 15:15:21 +03:00
allegroai
619be3dc75 Fix requirements detection:
- multiple -e packages were not detected (only the first one)
- trains installed from git + running with trains in python path resulted in double entry of trains
- Do not add -e to packages installed from git repositories, Trains-Agent doesn't like it
2020-07-30 15:12:46 +03:00
allegroai
1d277d01d3 Fix large git diff preview (artifact auxiliary_git_diff) is a single line per file, add option to control the artifact preview 2020-07-30 15:10:41 +03:00
allegroai
0a5c10b4b0 Fix user input wizard, support python 3.5 / 2.7 2020-07-30 15:08:27 +03:00
allegroai
23394a265d flake8 + change ModuleNotFoundError to ImportError (support py 2.7/3.5) 2020-07-30 15:07:25 +03:00
allegroai
a8d6380696 Add offline support using Task.set_offline() and Task.import_offline_session() 2020-07-30 15:03:22 +03:00
allegroai
2ec5726812 Fix filename too long bug (trains-server #54) 2020-07-30 14:58:48 +03:00
allegroai
d8671beb89 Fix StorageHelper to stream StringIO into file (tensorboard add_text support) 2020-07-30 14:57:35 +03:00
allegroai
7de064aaa0 Fix Optuna and HPBandster optimizers to ignore extra kwargs in constructor. Use OptimizerOptuna as default optimizer for hyper-parameter optimization example. 2020-07-30 14:56:15 +03:00
allegroai
093477cb35 Refactor fastai bind 2020-07-30 14:54:37 +03:00
allegroai
00ccadf591 Fix Task.get_reported_scalars(): do not raise exception, set max_request to 1, retrieve all scalars by default 2020-07-30 14:53:33 +03:00
allegroai
4bfd614367 Fix optimizer to support string 2020-07-30 14:51:41 +03:00
allegroai
e9f950f939 Fix set_base_docker() on main task to do nothing when running remotely 2020-07-30 14:34:39 +03:00
Guillaume Theaud
15afc479c6 Robustify GPU monitoring 2020-07-15 11:16:05 -04:00
allegroai
e7864e6ba8 Move autoscaler input functions to utilities 2020-07-14 23:40:05 +03:00
allegroai
5e0aecf1b2 Fix print message 2020-07-14 23:38:39 +03:00
allegroai
84bdac5cc8 Fix HBandster to not shutdown namespace manually as Pyro will shut it down for us 2020-07-14 23:37:41 +03:00
allegroai
4e1d2b0f4a Add Optimizer set_optimizer_task and OptimizerOptuna 2020-07-14 23:36:50 +03:00
allegroai
925450c7ef Add Task.init() argument continue_last_task to continue a previously used Task (issue #160) 2020-07-14 23:36:03 +03:00
allegroai
79799d3efd Add logger.report_confusion_matrix arg yaxis_reversed (when True flip the confusion matrix, default False). Issue #165 2020-07-11 01:37:02 +03:00
allegroai
a3c191742b Add Task.get_projects 2020-07-11 01:34:50 +03:00
allegroai
b4e3871b30 Fix Task.import_task/export_task to use project name 2020-07-11 01:34:26 +03:00
allegroai
8d7740ea68 Add AWS EC2 Auto-Scaler service example 2020-07-11 01:32:51 +03:00
allegroai
25fd425bf7 Support requirements detection using pip freeze (development.detect_with_pip_freeze configuration setting) 2020-07-11 01:31:47 +03:00
allegroai
d642639890 Add fastai binding support 2020-07-11 01:29:29 +03:00
allegroai
0328327b5a version bump 2020-07-06 21:03:12 +03:00
allegroai
8af97dbab1 Add Task export_task / import_task / update_task (Issue #128) 2020-07-06 21:03:12 +03:00
allegroai
04ab5ca99c Add initial keras-tuner support (https://github.com/keras-team/keras-tuner/issues/334) 2020-07-06 21:03:12 +03:00
allegroai
df143f1b4e Fix add UTC to time stamp in comment #152 2020-07-06 21:00:47 +03:00
allegroai
2b75c933ee Fix detect installed packages when Trains is not imported directly. 2020-07-06 21:00:01 +03:00
allegroai
2f5b519cd8 Tensorboard text logging report as debug samples (.txt files), instead of as console output. 2020-07-04 22:55:29 +03:00
allegroai
934771184d Fix git diff larger than 500kb , git section will contain warning, and entire git diff will be uploaded as artifact named auxiliary_git_diff 2020-07-04 22:53:26 +03:00
allegroai
d1744785b1 flake8 2020-07-04 22:52:09 +03:00
allegroai
87f7b5d50f Fix limit git diff to 500kb 2020-07-02 01:28:15 +03:00
allegroai
6129e09b50 Fix Hyper-Parameter optimization get_top_experiments() order 2020-07-02 01:28:15 +03:00
allegroai
59b78b288e Add TRAINS_SUPPRESS_UPDATE_MESSAGE #157 2020-07-02 01:28:15 +03:00
allegroai
5cc09d83fd Fix Task.get_task should not auto log console outputs 2020-07-02 01:28:15 +03:00
allegroai
b07a17890d Add task.upload_artifact auto_pickle=True #153
Fix multiple argparse calls before task.init
Add mark_started force argument #159
2020-07-02 01:28:15 +03:00
allegroai
efd843d863 Fix auto logging multiple argparse calls before Task.init 2020-07-02 01:28:15 +03:00
allegroai
b2fb5a3425 Improve Tensorboard histogram scale 2020-07-02 01:28:15 +03:00
allegroai
5d13ec0dfe Fix Tensorboard 2d convolution histogram, improve histogram accuracy on very small histograms.
Add Logger._set_tensorboard_series_prefix add series prefix for all TB reports
2020-06-23 23:08:08 +03:00
allegroai
f6a8736ef6 Fix PyHocon parsing of dictionary keys starting with a numeric value would break the parser 2020-06-23 23:07:05 +03:00
allegroai
a99709d5d0 Version bump to v0.15.1 2020-06-21 23:31:25 +03:00
allegroai
f3621feabb Allow Task.get_tasks() to filter by list of project ids 2020-06-21 23:31:14 +03:00
allegroai
2c5e2bb849 Add Slack Monitor service 2020-06-21 23:30:07 +03:00
allegroai
575f391ba7 Fix ssh://user@domain@server.com/ in git repo link (Issue #149) 2020-06-20 22:15:08 +03:00
allegroai
d2d3e595af Fix incorrect entry point detection when called from Trains wrapper (such as TrainsLogger Ignite/Lightning) 2020-06-19 20:51:46 +03:00
allegroai
5fbfa1d6e2 Add safety guards for Model creation / cache lookup 2020-06-19 19:09:36 +03:00
allegroai
9f9452ecf4 Automation Parameter serialization type name 2020-06-19 19:09:27 +03:00
allegroai
0626d807a7 Add WeightsFileHandler callback type enum 2020-06-19 19:09:17 +03:00
allegroai
9a7850b23d Fix anonymous named Models and input model registration based on remote url instead of local file (when StorageManager is used to download) 2020-06-19 00:52:31 +03:00
allegroai
7ab93e7dba Removed automagic reuse Model objects 2020-06-19 00:46:43 +03:00
allegroai
71003e02b2 hyper-parameter Parameter serialization type is now named "type" 2020-06-19 00:46:01 +03:00
allegroai
01d497451e Fix models and projects api client access 2020-06-19 00:44:38 +03:00
allegroai
2004b64a5b Change Task.wait_for_status() defaults & Add TrainsJob.is_failed() 2020-06-18 01:08:54 +03:00
allegroai
29b4b7338b Fix Logger.tensorboard_single_series_per_graph 2020-06-18 01:08:30 +03:00
allegroai
0454804721 WeightsFileHandler callback documentation 2020-06-18 01:08:10 +03:00
Allegro AI
1475f0e98d
Merge pull request #145 from H4dr1en/patch-3
Add task.wait_for_status()
2020-06-17 21:47:28 +03:00
allegroai
9ee596f48b version bump 2020-06-16 22:02:05 +03:00
allegroai
e03d421b46 Allow auto-model logging callbacks to drop logging 2020-06-16 22:01:52 +03:00
allegroai
bec31c7ac4 Fix matplotlib plot margins 2020-06-15 22:25:32 +03:00
allegroai
9c1d08b826 Fix TensorFlow >=2 histogram binding 2020-06-15 22:23:09 +03:00
H4dr1en
547f69da4b
Add task.wait_for_status() 2020-06-15 15:19:58 +02:00
allegroai
20a9f0997d Add direct plotly figure reporting (see issue #136) 2020-06-14 00:01:30 +03:00
allegroai
8a5f6b7d02 Fix Google CoLab code/package detection 2020-06-13 22:12:28 +03:00
allegroai
aa61fa3f06 Improve pytorch ignite integration 2020-06-13 22:10:59 +03:00
allegroai
a5b1ed0330 Improve matplotlib integration, issue #140 2020-06-13 22:09:45 +03:00
allegroai
2784a48c47 Embed jsonmodels v2.4 package 2020-06-13 22:08:57 +03:00
allegroai
7173a16a16 Update docstrings 2020-06-11 21:15:40 +03:00
allegroai
570b8f19b3 Reuse model id, upload to the correct destination, and remove multiple comments 2020-06-11 17:21:48 +03:00
allegroai
ac986d05f1 Add APIClient support 2020-06-11 15:08:45 +03:00
allegroai
feb82c30a7 Allow providing alternate model ID when getting an output model 2020-06-11 15:07:25 +03:00
allegroai
6a28a6e21d Change callback structure, access thorough designated class WeightsFileHandler.ModelInfo
See https://github.com/pytorch/ignite/issues/1056
2020-06-11 15:05:11 +03:00
allegroai
5475d00d52 Add missing Task types in scheme 2020-06-11 14:47:14 +03:00
allegroai
bd2a0dcc2c Fix trains-init wizard, allow at most two credentials verification tries 2020-06-11 14:41:10 +03:00
allegroai
d5c7ef7eff Do not call make deterministic on import 2020-06-11 14:39:57 +03:00
H4dr1en
91fbc1cf87
Add set_parent method to Tasks 2020-06-09 11:17:42 +02:00
allegroai
00e56faa96 Version bump to v0.15.0 2020-06-01 19:56:21 +03:00
allegroai
7dad7e57e4 Fix automation BOHB budget display calculation, Job.started() and daemon sleep 2020-06-01 11:02:45 +03:00
allegroai
2066d9ff9d Fix type-hints and docstrings 2020-06-01 11:00:42 +03:00
allegroai
43dac458df Change OptimizerBOHB argument max_job_execution_minutes to time_limit_per_job. Add budget remaining reporting 2020-05-31 13:28:03 +03:00
allegroai
2089dde55a Add Task.running_locally() and Task.execute_remotely() 2020-05-31 12:13:54 +03:00
allegroai
dcd16abd3b Add new task types and support for Server API version 2.8 2020-05-31 12:11:48 +03:00
allegroai
92d003657b Fix WeightsFileHandler support for model=None 2020-05-31 12:08:14 +03:00
allegroai
38230626c2 Fix Job.elapsed() 2020-05-31 12:07:12 +03:00
allegroai
f86198bbe5 Add callback for framework save/load binding 2020-05-31 12:06:15 +03:00
allegroai
b865fc0072 If sys.argv doesn't point into a git repo, take file calling Task.init(). Support running code from a module (i.e. -m module) 2020-05-31 12:05:09 +03:00
allegroai
183ad248cf Add type hints, remove/ignore pep8 warnings 2020-05-31 12:02:15 +03:00