mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Fix various CI and tests issues
This commit is contained in:
@@ -2,9 +2,11 @@ clearml
|
||||
jsonschema==3.2.0 ; python_version <= '3.5'
|
||||
matplotlib
|
||||
pytorch-ignite
|
||||
tensorboard>=1.14.0
|
||||
tensorboard<=2.11.2 ; python_version <= '3.7'
|
||||
tensorboard>2.11.2 ; python_version > '3.7'
|
||||
tensorboardX
|
||||
torch>=1.1.0
|
||||
torchvision>=0.3.0
|
||||
tqdm
|
||||
protobuf>=4.21.1
|
||||
protobuf==3.20.* ; python_version <= '3.7'
|
||||
protobuf>=4.21.1 ; python_version > '3.7'
|
||||
|
||||
@@ -21,14 +21,14 @@ task = Task.init(project_name='FirstTrial', task_name='config_files_example')
|
||||
|
||||
config_file = task.connect_configuration(Path("data_samples") / "sample.json", name='json config file')
|
||||
|
||||
with open(config_file, "rt") as f:
|
||||
with open(config_file.as_posix(), "rt") as f:
|
||||
config_json = json.load(f)
|
||||
|
||||
print(config_json)
|
||||
|
||||
config_file = task.connect_configuration(Path("data_samples") / "config_yaml.yaml", name='yaml config file')
|
||||
|
||||
with open(config_file, "rt") as f:
|
||||
with open(config_file.as_posix(), "rt") as f:
|
||||
config_yaml = yaml.load(f, Loader=yaml.SafeLoader)
|
||||
|
||||
print(config_yaml)
|
||||
|
||||
Reference in New Issue
Block a user