mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
Remove args printing
This commit is contained in:
@@ -246,6 +246,25 @@ $ dvc run python code/extract_binary_fr.py '<python>' data/Posts-fr.tsv data/Pos
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
$ wget -nv -P code https://s3-us-west-2.amazonaws.com/dvc-share/so/small/code/train_test_split.py
|
||||
$ git add code/train_test_split.py
|
||||
$ git commit -m 'Train and test split code'
|
||||
[master ed6ddae] Train and test split code
|
||||
1 file changed, 50 insertions(+)
|
||||
create mode 100644 code/train_test_split.py
|
||||
```
|
||||
|
||||
```
|
||||
$ dvc run python code/train_test_split.py data/Posts-bin-fr.tsv 0.25 20170422 data/Posts-bin-fr-train.tsv data/Posts-bin-fr-test.tsv
|
||||
[Git] A new commit c4c7a86 was made in the current branch. Added files:
|
||||
[Git] A .state/Posts-bin-fr-test.tsv.state
|
||||
[Git] A .state/Posts-bin-fr-train.tsv.state
|
||||
[Git] A data/Posts-bin-fr-test.tsv
|
||||
[Git] A data/Posts-bin-fr-train.tsv
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
# Copyright
|
||||
|
||||
@@ -50,8 +50,6 @@ if __name__ == '__main__':
|
||||
'test': ['aws', 'cloud', 'gcloud'],
|
||||
}
|
||||
|
||||
print('sys.argv: (%d) %s' % (len(sys.argv), sys.argv))
|
||||
|
||||
if len(sys.argv) < 2 or sys.argv[1] not in cmds:
|
||||
if len(sys.argv) >= 2:
|
||||
print('Unimplemented or unrecognized command: ' + ' '.join(sys.argv[1:]))
|
||||
|
||||
Reference in New Issue
Block a user