cnvrg 1.6.0.2 → 1.6.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d86069ef477a0e9e5d05eb754caa0cd025f97c4eeb43640b89494e5ff966d95
4
- data.tar.gz: e2c315c26dbc155ed538d1992cd0833d01f6cdb0f714d4c4dbba0bd7482446d3
3
+ metadata.gz: 3a3c88e2b4c7677c74b802126e781c275932fa5b7e717828ff285c1f4c2bbf4b
4
+ data.tar.gz: af24f9c12671ad958394dc267b0723126172483e34a079b83774e16af95312e5
5
5
  SHA512:
6
- metadata.gz: 2baa36b55fc4cea10cdde2a69c2144d13331301efce03477563fb900b59fd1b4a6a5c4ade0bef5176515537243291b01cda2a6b073e507e2a98fe3feb27a94f1
7
- data.tar.gz: 91b217fe795cae96230bc40e3b1a107368ed1c00a67492ea195c237ae50d1f6c8700922357fb399c7dac6eeb1188d8a3150c65ab0a2c2c6640b79dd2928d5b23
6
+ metadata.gz: 34926b47f89799fe2fd2d3d4ff2716a6b73c1d780ee6153458709269872034dc9dd355c6aaa87bde39fc17633404aa93034f8003e613c46e7fe150ef7c9497d5
7
+ data.tar.gz: 8942c99181323e7d70aab5fc63bded109a6ae2c949118c859c392436888544281091c8cd95ebacaa027c0c1cb74a1eae5306a4cde563a15a608601605ad057bf
@@ -54,7 +54,7 @@ module Cnvrg
54
54
  conn.headers['Auth-Token'] = @pass
55
55
  conn.headers['User-Agent'] = "#{Cnvrg::API::USER_AGENT}"
56
56
  conn.options.timeout = 420
57
- conn.options.open_timeout=180
57
+ conn.options.open_timeout=600
58
58
  case method
59
59
  when 'GET'
60
60
  retries = 0
@@ -2449,6 +2449,7 @@ module Cnvrg
2449
2449
  @dataset = Dataset.new(dataset_dir)
2450
2450
  @files = Cnvrg::Datafiles.new(@dataset.owner, @dataset.slug, dataset: @dataset)
2451
2451
  all_files = all_files
2452
+ @dataset.generate_idx
2452
2453
  res = @dataset.compare_idx_download(all_files: all_files, desired_commit: commit)
2453
2454
  unless CLI.is_response_success(res, false)
2454
2455
  log_message("Cant find the desired commit, please check it or try to download without it.", Thor::Shell::Color::RED)
@@ -38,5 +38,18 @@ module Cnvrg
38
38
  commands = @executer.get_requirements_commands
39
39
  @executer.execute_cmds(commands)
40
40
  end
41
+ def tensorboard(start:true)
42
+ cli = Cnvrg::CLI.new
43
+ cli.log_start(__method__, args, options)
44
+ @project = Project.new(nil, owner: ENV['CNVRG_OWNER'], slug: ENV['CNVRG_PROJECT'])
45
+ @executer = Helpers::Executer.new(project: @project, job_type: ENV['CNVRG_JOB_TYPE'], job_id: ENV['CNVRG_JOB_ID'])
46
+ commands = []
47
+ if start
48
+ commands << "nohup tensorboard --logdir=/home/ds/notebooks </dev/null &"
49
+ @executer.execute_cmds(commands)
50
+ else
51
+
52
+ end
53
+ end
41
54
  end
42
55
  end
@@ -1,4 +1,4 @@
1
1
  module Cnvrg
2
- VERSION = '1.6.0.2'
2
+ VERSION = '1.6.0.3'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnvrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.2
4
+ version: 1.6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yochay Ettun
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-11-04 00:00:00.000000000 Z
13
+ date: 2019-11-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -476,7 +476,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
476
476
  - !ruby/object:Gem::Version
477
477
  version: '0'
478
478
  requirements: []
479
- rubygems_version: 3.0.3
479
+ rubygems_version: 3.0.4
480
480
  signing_key:
481
481
  specification_version: 4
482
482
  summary: A CLI tool for interacting with cnvrg.io.