graph_table_recognition's People
graph_table_recognition's Issues
A problem when running trainers/trainer_multi.py
when I prepare ALL the data and code and running trainers/trainer_multi.py
I encounter a problem:
but I dont know where is going wrong.
can auther give me some guide?
thanks very much!
*** STARTING TRAINING LOOP ***
Traceback (most recent call last):
File "trainers/trainer_col_only.py", line 251, in
main(config=namespace_config_dict)
File "trainers/trainer_col_only.py", line 87, in main
train_loss = train(model, optimizer, train_loader, loss_criteria)
File "trainers/trainer_col_only.py", line 131, in train
for idx, data in enumerate(train_loader):
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 363, in next
data = self._next_data()
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 403, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
return self.collate_fn(data)
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch_geometric/data/dataloader.py", line 34, in call
return self.collate(batch)
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch_geometric/data/dataloader.py", line 15, in collate
return Batch.from_data_list(batch, self.follow_batch)
File "/home/ywx/anaconda3/envs/GTR/lib/python3.6/site-packages/torch_geometric/data/batch.py", line 123, in from_data_list
batch[key] = torch.cat(items, ref_data.cat_dim(key, item))
RuntimeError: Sizes of tensors must match except in dimension 0. Got 357 and 238 in dimension 2 (The offending index is 1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.