Skip to content

Commit

Permalink
Add paramete to ski dataset colelction
Browse files Browse the repository at this point in the history
  • Loading branch information
lyriccoder committed May 15, 2020
1 parent b3829ea commit 8a00f49
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion aibolit/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,15 @@ def train():
required=False,
default=None
)
parser.add_argument(
'--skip_collect_dataset',
required=False,
default=False,
action='store_true'
)
args = parser.parse_args(sys.argv[2:])
collect_dataset(args.java_folder, args.max_classes)
if not args.skip_collect_dataset:
collect_dataset(args.java_folder, args.max_classes)
train_process()


Expand Down

0 comments on commit 8a00f49

Please sign in to comment.