Comments (12)
Hi, this seems to be caused by some other problems(from the environments), could you provide more information?
from cogqa.
Thank you ! This is my conda and torch version configuration:
python 3.7.0
conda 4.5.11
torch 1.0.1.post2
torchvision 0.2.2.post3
Hi, this seems to be caused by some other problems(from the environments), could you provide more information?
from cogqa.
The batch_size in the train.py has been transferred to 1, My machine is:2080Ti
from cogqa.
Hi, can you tell me which code raise the error? seems like the environment is okay.
from cogqa.
Yeah ! "batch = tuple(t.to(device) for t in batch)" , I've now reinstalled the Ubantu environment, May I ask if your VERSION of CUDA must be 8?
from cogqa.
I have been stuck with this problem for 3 days and have ruled out memory overflow and batch_size. I couldn't resist reinstalling the system yesterday, and I noticed that the CUDA version didn't fit.
How many VERSIONS of CUDA do you have?
Thank you ~
from cogqa.
I suspect the problem is that CudA10.0 doesn't match the torch in the code
from cogqa.
No, but you need to ensure your torch build to fit for the CUDA version.
from cogqa.
soga. I think I know what the problem is where. My CUDA version follows your requirements, but Cuda may not match the torch
from cogqa.
Cuda loaded 8.0 has collapsed, I'm going to reinstall the system and press the new CUDA and Torch versions
from cogqa.
Hello! I think I finally found the problem, but I don’t know how to solve it.
Hope to get your help.
The problem appears in the train.py file:
' hop_loss, ans_loss, pooled_output = model1(*batch)'
The error suggested is:RuntimeError: CUDA error: an illegal memory access was encountered.
I suspect that the parameter range of Model1 is different from the size of batch, Could you please help me explain the structure of model1, thank you very much!!!
from cogqa.
I have found the problem. It is because my CUDA environment is not well installed. So much trouble for you~
from cogqa.
Related Issues (20)
- dump.rdb HOT 4
- fullwiki data HOT 1
- 关于bert使用不加载链接,而是通过文件加载的问题 HOT 1
- 请问下"hotpot_dev_fullwiki_v1_merge.json"文件从哪来? HOT 2
- 论文中"提取一跳节点,但是不计算语义向量"的含义 HOT 2
- sem[x,Q,clues]在系统一和系统二中的作用 HOT 5
- 数据集中的答案并不是来源于该条数据的材料--问题 HOT 1
- 代码中utils中的GENERAL_WD解释 HOT 1
- 不好意思一次性问了很多细节问题,希望您有时间可以解答下 HOT 1
- where can i find hotpot_train_v1.1_refined.json HOT 1
- NEG TOO LONG! HOT 1
- 将bert换成albert时,加载输入数据时出了个错误 HOT 2
- model2 = CognitiveGNN(model1.config.hidden_size) 'NoneType' object has no attribute 'config'
- model1 = BertForMultiHopQuestionAnswering.from_pretrained(BERT_MODEL, cache_dir=PYTORCH_PRETRAINED_BERT_CACHE / 'distributed_{}'.format(-1)) HOT 2
- 请问训练速度和什么有关呀?显卡?内存?
- Where can i get `hotpot_train_v1.1.json`? HOT 1
- 文件夹里enwiki-20171001-pages-meta-current-withlinks-abstracts应该有什么文件?
- System 1 with roberta?
- 感觉这代码没法复现
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 cogqa.