Closed SongXueZhi closed 4 years ago
Sorry for the late reply. This is now fixed in 8732bf2, which makes the parallel and non-parallel versions both use a generator - I haven't really figured out why the existing code didn't work, but I've verified that this new version works fine (for me).
when use params "no_parallel=True" in _load_data() ,We can get the data successfully from load_single_sample method , and reurn result list[GraphSample].but __load_data() can't get the result from “return _load_data()” ,or the type of the result that should be a list is a generator. the code as follow:
the exception:
the debug info in vscode:
In order to facilitate debugging, we will assign the result to the temporary variable 'result' first.It is easy to find that there is correct data in ‘result’, but there is no data in self.loaded_data