mirror of https://github.com/kubeflow/examples.git
lint fixes
This commit is contained in:
parent
fdea8cd59e
commit
c3bb4b99f4
|
|
@ -33,7 +33,7 @@ def download(source, target, force_clear=False):
|
|||
print("Copying from {} to {}".format(source, target))
|
||||
shutil.copyfile(source, targt_file)
|
||||
|
||||
print 'Unzipping {}'.format(targt_file)
|
||||
print('Unzipping {}'.format(targt_file))
|
||||
zipr = zipfile.ZipFile(targt_file)
|
||||
zipr.extractall(target)
|
||||
zipr.close()
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ import json
|
|||
import hashlib
|
||||
import argparse
|
||||
from random import shuffle
|
||||
from pathlib2 import Path
|
||||
import numpy as np
|
||||
import tensorflow as tf
|
||||
from tensorflow.data import Dataset
|
||||
from pathlib2 import Path
|
||||
|
||||
|
||||
def info(msg, char="#", width=75):
|
||||
|
|
|
|||
Loading…
Reference in New Issue