Skip to content

Commit

Permalink
Update suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-suman committed Dec 11, 2019
1 parent 9a1529e commit 1ff4b29
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions rudra/deployments/emr_scripts/emr_config.py
Expand Up @@ -61,13 +61,12 @@ def get_config(self):
download_training_code = [
'git', 'clone', self.training_repo_url, self.repo_dir]

execute_training_code = ['python3.6'.format(self.repo_dir),
training_file, self.hyper_params]

if self.ecosystem=='npm':
training_file = "{}/{}".format(self.repo_dir, self.training_file_name)
execute_training_code = ['/usr/local/bin/python3.7'.format(self.repo_dir),
training_file]
else:
execute_training_code = ['python3.6'.format(self.repo_dir),
training_file, self.hyper_params]

step2 = {
'Name': 'setup - copy files',
Expand Down

0 comments on commit 1ff4b29

Please sign in to comment.