def __init__(self, args):
    self.dataset_path = args.dataset_path
    self.batch_size = args.batch_size
    self.batch_size_valid = 1
    self.seq_length = args.seq_length
    self.scale_factor = args.data_scale
    self.social_range = args.social_range
    self.social_grid_size = args.grid_size
    self.map_size = args.map_size
    self.is_apply_social = 0
    self.data_augmentation = args.data_augmentation
    self.load_preprocessed_data()
    self.reset_batch_pointer()
    print('>> Dataset loading and analysis process are done...')
def __init__(self, args):
    self.dataset_path = args.dataset_path
    self.batch_size = args.batch_size
    self.batch_size_valid = 1
    self.seq_length = args.seq_length
    self.scale_factor = args.data_scale
    self.social_range = args.social_range
    self.social_grid_size = args.grid_size
    self.map_size = args.map_size
    self.is_apply_social = 0
    self.data_augmentation = args.data_augmentation
    self.load_preprocessed_data()
    self.reset_batch_pointer()
    print('>> Dataset loading and analysis process are done...')