Giter Club home page Giter Club logo

deeplncloc's People

Contributors

csubiogroup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deeplncloc's Issues

Have runtime error when using gpu

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.