LibCity / Bigscity-LibCity

LibCity: An Open Library for Urban Spatial-temporal Data Mining
https://libcity.ai/
Apache License 2.0
947 stars 168 forks source link

_add_external_information如何使用 #386

Closed tanxiaoying closed 10 months ago

tanxiaoying commented 11 months ago

_add_external_information如何使用,我将traffic_state_dataset.py的方法get_data里的代码块: x_train, y_train, x_val, y_val, x_test, y_test = [], [], [], [], [], [] if self.data is None: self.data = {} if self.cache_dataset and os.path.exists(self.cache_file_name): x_train, y_train, x_val, y_val, x_test, y_test = self._load_cache_train_val_test() else: x_train, y_train, x_val, y_val, x_test, y_test = self._generate_train_val_test()的代码改为 x_train, y_train, x_val, y_val, x_test, y_test = self._generate_train_val_test()是正确的吗