csubiogroup / deeplncloc Goto Github PK
View Code? Open in Web Editor NEWA deep learning-based lncRNA subcellular localization predictor
License: MIT License
A deep learning-based lncRNA subcellular localization predictor
License: MIT License
Hi CSU BioGroup,
I have issues when using gpu to train this model. When I changed device to cpu, everything works fine. Could you tell me the version of pytorch, cuda and gensim you are currently using? I thought it may be because I use a newer version. Thank you!
Here are the error messages I got after I ran with command line:
python train.py --k 3 --d 64 --s 64 --f 128 --metrics MaF --device "cuda:0"
Traceback (most recent call last):
File "train.py", line 27, in
model.cv_train(dataClass, trainSize=1, batchSize=16, stopRounds=-1, earlyStop=10,
File "/home/shenyang/github/DeepLncLoc/model/DL_ClassifierModel.py", line 24, in cv_train
res = self.train(dataClass,trainSize,batchSize,epoch,stopRounds,earlyStop,saveRounds,optimType,lr,weightDecay,
File "/home/shenyang/github/DeepLncLoc/model/DL_ClassifierModel.py", line 50, in train
loss = self._train_step(X,Y, optimizer)
File "/home/shenyang/github/DeepLncLoc/model/DL_ClassifierModel.py", line 168, in _train_step
loss.backward()
File "/home/shenyang/anaconda3/envs/envdeeplog/lib/python3.8/site-packages/torch/tensor.py", line 221, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/shenyang/anaconda3/envs/envdeeplog/lib/python3.8/site-packages/torch/autograd/init.py", line 130, in backward
Variable._execution_engine.run_backward(
RuntimeError: shmem_size <= sharedMemPerBlock INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1607370131125/work/aten/src/ATen/native/cuda/AdaptiveAveragePooling.cu":669, pleas
e report a bug to PyTorch.
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.