obs01ete / kaggle_latenciaga Goto Github PK
View Code? Open in Web Editor NEWSolution of Kaggle Fast or Slow competition by Google
Solution of Kaggle Fast or Slow competition by Google
Thanks for your sharing!
But when I run the main.py with collection "layout-xla-random", it occurs the following problem "TypeError: argument of type 'method' is not iterable".
I find the problem lies in the train_Loader, it's a method rather than an iterable object, while I confirm it's a dataloader object.
The terminal information are listed as followed.
<class 'torch.utils.data.dataloader.DataLoader'> [23/57]
Traceback (most recent call last):
File "/root/kaggle/src/main.py", line 846, in
main()
File "/root/kaggle/src/main.py", line 841, in main
trainer.train()
File "/root/kaggle/src/main.py", line 364, in train
for batch in train_loader:
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 681, in next
data = self._next_data()
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1376, in _next_data
return self._process_data(data)
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1402, in _process_data
data.reraise()
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/_utils.py", line 461, in reraise raise exception
TypeError: Caught TypeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/envs/kaggle/lib/python3.9/site-packages/torch_geometric/data/dataset.py", line 263, in getitem
data = self.get(self.indices()[idx])
File "/root/kaggle/src/data.py", line 331, in get
if 'node_config_feat' in single_data.keys:
TypeError: argument of type 'method' is not iterable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.