I hit the same error, but I passed it by referring the discussion below. It seems get_data method should be used as get_data(path+‘train’).