Skip to content

Instantly share code, notes, and snippets.

View GitHubEmploy's full-sized avatar

Mohit Varikuti GitHubEmploy

View GitHub Profile
import torch
import torchvision
import torchvision.transforms as transforms
num_epochs = 10
batch_size = 32
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.conv1 = nn.Conv2d(1, 64, kernel_size=(3, 3), padding=1)
self.conv2 = nn.Conv2d(64, 64, kernel_size=(3, 3), padding=1)
self.max_pool = nn.MaxPool2d(2, 2)
self.global_pool = nn.AvgPool2d(7)
self.fc1 = nn.Linear(64, 64)
self.fc2 = nn.Linear(64, 10)
@GitHubEmploy
GitHubEmploy / README.md
Last active November 16, 2020 20:07
Covid cure AI

#DOCUMENTAION

Deep Learning Coronavirus Cure

The goal is to create a novel small molecule which can bind with the coronavirus, using deep learning techniques for molecule generation and PyRx to evaluate binding affinities.

Binding scores of leading existing drugs (HIV inhibitors) are around -10 to -11 (the more negative the score the better), and around -13 for the drug Remdesivir which recently entered clinical testing.

By combining a generative RNN model with techniques and principles from transfer learning and genetic algorithms, Was able to create several small molecule candidates which achieved binding scores approaching -18.

Acknowledgements