Commit Graph

223 Commits

Author SHA1 Message Date
allegroai
de85580faa Moved archived_tag definition + pep8 2020-11-08 00:18:20 +02:00
allegroai
e37d6a4155 Fix warning on uploading local file that does not exist 2020-11-03 10:50:51 +02:00
allegroai
c328fbf345 Add user properties support in Task object 2020-11-03 10:50:00 +02:00
allegroai
6e7cb6b6f1 Fix Hydra support, relative path argv[0]. (issue #219) 2020-11-01 02:27:27 +02:00
allegroai
49b578b979 Add Hydra support phase one: fix current working dir (issue #219). Fix cwd outside of repository root folder 2020-10-30 10:04:03 +02:00
allegroai
59629d7a15 Fix connect dict to place non-existing entries on the section name instead of General 2020-10-30 10:03:12 +02:00
allegroai
753b3ff68c Add sdk.development.store_code_diff_from_remote (default False) to store diff from remote HEAD instead of local HEAD (issue #222) 2020-10-30 09:55:54 +02:00
allegroai
a0ec4b895b Do not add setuptools specific version (pip can't install it anyway) 2020-10-30 09:54:50 +02:00
allegroai
4e9fba5625 Fix initializing task on argparse parse in remote mode. Do not call Task.init() to avoid auto connect, use Task.get_task instead. 2020-10-30 09:53:44 +02:00
allegroai
04b3fa809b Fix updating hyper parameters in non-legacy mode 2020-10-19 15:59:13 +03:00
allegroai
df395b67ba Add Logger.report_matplotlib_figure() with examples 2020-10-15 23:20:17 +03:00
allegroai
7ce5bc0313 Fix wrong argument order (issue #220) 2020-10-15 23:19:05 +03:00
allegroai
4ca9dc4c00 Add Task.set_task_type() 2020-10-15 23:18:20 +03:00
allegroai
aeb40ee6fa Improve conda package naming _ and - support 2020-10-12 11:10:28 +03:00
allegroai
c22eacd3fc Add sdk.development.detect_with_conda_freeze (default true) for full conda freeze (requires trains-agent >= 16.2) 2020-10-12 11:09:45 +03:00
allegroai
0c3745ea3f Fix Task.clone support for trains-server < 0.16 2020-10-12 11:04:41 +03:00
allegroai
07bdc37dcb When using "detect_with_pip_freeze" make sure that "package @ file://" lines are replaced with "package==x.y.z" because local file will probably not be available 2020-10-12 11:03:33 +03:00
allegroai
79df2be26c Don't strip the output of diff command 2020-10-12 10:52:49 +03:00
allegroai
1e4ab0510c Add system_tags and tags to Model 2020-10-12 10:50:38 +03:00
allegroai
5d20a0fa98 Fix set_base_docker should be skipped when running remotely 2020-10-12 10:49:20 +03:00
allegroai
f65e64aebe Fix ArgParser binding handling of string argument with boolean default value (this affects Pytorch Lightning integration) 2020-10-11 11:15:14 +03:00
allegroai
1a39973cb9 Fix ArgParse auto-connect to support default function type (stored as empty string, ignored when running remotely) and type string with default value None (ignored when running remotely and None value is kept) 2020-10-04 16:58:50 +03:00
allegroai
8adfa3ebd2 Fix Task.clone() did not copy the configuration section 2020-10-01 16:17:02 +03:00
allegroai
55ac24aa9a Exclude argsparser arguments and copy hyperparms in Task.clone() if API < 2.9 2020-09-29 19:18:04 +03:00
allegroai
cd77f0b8c8 Add ArgParser default help (if not provided) 2020-09-29 19:15:11 +03:00
allegroai
ab9487c4e0 Update Session API version according to max server reported version 2020-09-29 19:09:07 +03:00
allegroai
2a249c41f0 If possible, do not use api tasks object directly (use Task instead) 2020-09-15 18:13:07 +03:00
allegroai
2a2d4b6114 Add git diff on repository submodule (requires git 2.14 or above) 2020-09-15 18:10:02 +03:00
allegroai
299ce14515 Fix sending empty reports, issue #205 2020-09-09 22:10:59 +03:00
allegroai
7eedd30097 pep8 2020-09-09 22:06:04 +03:00
allegroai
86aa3aaa98 Fix docstrings 2020-09-05 16:30:00 +03:00
allegroai
fae11edf1b Fix NaN in plotly plots (matplotlib conversion)
Add sdk.metrics.plot_max_num_digits to limit the number of digits in a plot (reduce plot sizes)
2020-09-05 16:28:24 +03:00
allegroai
4c77cd1479 Rename Task.reporter to Task._reporter (deprecated) 2020-09-01 17:47:40 +03:00
allegroai
fd165f7126 Fix docstrings 2020-09-01 17:44:26 +03:00
allegroai
e1bbc03001 Fix artifact upload to only use file stream when not uploading locally stored file. Multi-part upload is not supported on stream upload. 2020-08-23 01:06:20 +03:00
allegroai
b054ba4088 No offline mode when running remotely 2020-08-23 01:05:18 +03:00
allegroai
ce483521ef Fix Task.get_reported_console_output() for new API v2.9 2020-08-18 11:52:31 +03:00
allegroai
73bd8c2714 Add FastAI example, disable binding if tensorboard is loaded (assume TensorBoradLogger will be used) 2020-08-10 08:01:03 +03:00
allegroai
4628b5eb82 Fix and improve signal handling (disable edit lock on signal callbacks, call before releasing the STD patch) 2020-08-10 07:57:26 +03:00
allegroai
0704cf0c8e Fix task.connect() dictionary to update the section (not override it) just like in API < 2.9 2020-08-08 12:53:54 +03:00
allegroai
5fc641afc6 Chang default legacy section name to 'Args'
Fix generated config file comment
2020-08-08 12:51:29 +03:00
allegroai
65003a168a Fix hyper-parameter legacy mode (type=='legacy')
Add type/description to TF_DEFINES
Cast hyper-parameters to string (if not None)
2020-08-08 12:48:23 +03:00
allegroai
de61dbf54e Fix offline mode to support python3.5 2020-08-08 12:47:08 +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
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
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
23394a265d flake8 + change ModuleNotFoundError to ImportError (support py 2.7/3.5) 2020-07-30 15:07:25 +03:00