Comments (3)
我注释掉了loader.py中的
def download(self):
# raise NotImplementedError('Must indicate valid location of raw data. '
# 'No download allowed')
再次运行pretrain_GEOM
Traceback (most recent call last):
File "pretraining.py", line 168, in
main()
File "pretraining.py", line 157, in main
train_mae(args, model, loader, optimizer, epoch)
File "pretraining.py", line 26, in train_mae
loss = model(batch)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/code/SimSGT/regression/model.py", line 862, in forward
h = self.encoder(self.gnn_act(h), edge_index, edge_attr, data.batch, data.mask_tokens, pe_tokens)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/code/SimSGT/regression/model.py", line 1559, in forward
h = self.gnns[layer](h_list[layer], edge_index, edge_attr)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/code/SimSGT/regression/model.py", line 291, in forward
return self.propagate(edge_index, x=x, edge_attr=edge_embeddings)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch_geometric/nn/conv/message_passing.py", line 351, in propagate
out = self.update(out, **update_kwargs)
File "/home/penghuan/code/SimSGT/regression/model.py", line 297, in update
return self.mlp(aggr_out)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/activation.py", line 98, in forward
return F.relu(input, inplace=self.inplace)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/functional.py", line 1442, in relu
result = torch.relu(input)
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
from simsgt.
Traceback (most recent call last):
File "pretraining.py", line 168, in
main()
File "pretraining.py", line 157, in main
train_mae(args, model, loader, optimizer, epoch)
File "pretraining.py", line 26, in train_mae
loss = model(batch)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/SimSGT/regression/model.py", line 857, in forward
h = self.encoder(self.gnn_act(h), edge_index, edge_attr, data.batch, data.mask_tokens, pe_tokens)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/SimSGT/regression/model.py", line 1554, in forward
h = self.gnns[layer](h_list[layer], edge_index, edge_attr)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/SimSGT/regression/model.py", line 291, in forward
return self.propagate(edge_index, x=x, edge_attr=edge_embeddings)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch_geometric/nn/conv/message_passing.py", line 317, in propagate
out = self.message(**msg_kwargs)
File "/home/penghuan/SimSGT/regression/model.py", line 294, in message
return self.activation(x_j + edge_attr)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/penghuan/miniconda3/envs/calm/lib/python3.8/site-packages/torch/nn/modules/activation.py", line 1111, in forward
return F.prelu(input, self.weight)
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
from simsgt.
每一次的报错内容还不一定一样 希望能解答一下 是数据格式的问题或者其他方面的问题吗?
from simsgt.
Related Issues (9)
- 现在还下载不到论文,能够发一份吗 HOT 2
- Where can I find the paper HOT 1
- The problem with NonParaGINConv HOT 1
- About hyper-paramter tuning HOT 1
- tuning_dta.py file HOT 1
- About preparing DAVIS and KIBA data folds. HOT 3
- dta微调报错 HOT 1
- Pretrained Checkpoints? HOT 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.
from simsgt.