Giter Club home page Giter Club logo

graduationproject's Introduction

Hi, there!

I am looking for a Ph.D. position in 25 Fall, feel free to contact me at [email protected].

Walsvid's GitHub stats

graduationproject's People

Contributors

ingra14m avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

graduationproject's Issues

你好,学长

学长,该代码有实现DrugA-DrugB DDI预测的模块么,就是假设我输入A与B来预测DDI的概率的模块。不胜感激。

有问题需要请教

你好,请问该项目的运行效果是什么样的呢
我在运行时会出现以下错误,请问可以帮忙解答下吗 不胜感激
D:\GP\GraduationProject-main\src\utils\FocalLoss.py:43: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
P = F.softmax(inputs)
Traceback (most recent call last):
File "D:/GP/GraduationProject-main/src/main.py", line 183, in
train(model=model, optimizer=optimizer, graph=graph, output=args.output)
File "D:/GP/GraduationProject-main/src/main.py", line 61, in train
loss = loss_function(pred[graph.edata['train_mask']], edata_label[graph.edata['train_mask']])
File "C:\Users\BinQiang Zhang.conda\envs\Sum\lib\site-packages\torch\nn\modules\module.py", line 1110, in call_impl
return forward_call(*input, **kwargs)
File "D:\GP\GraduationProject-main\src\utils\FocalLoss.py", line 48, in forward
class_mask.scatter
(1, ids.data, 1.)
RuntimeError: scatter(): Expected dtype int64 for index

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.