SHARE
TWEET

Untitled

a guest Apr 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. data = (PointsItemList.from_csv(path=path, folder='train', csv_name='tmp/bb.csv')
  2.         .split_by_rand_pct()
  3.         .label_from_df(cols='bbox', label_delim=' ')
  4.         .transform(get_transforms(), resize_method=ResizeMethod.SQUISH, size=sz)
  5.         .databunch(bs=5).normalize(imagenet_stats)
  6.        )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top