Update model.py
Browse files
model.py
CHANGED
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
class Cnn(nn.Module):
|
2 |
def __init__(self, dropout=0.5):
|
3 |
super(Cnn, self).__init__()
|
|
|
1 |
+
|
2 |
+
import numpy as np
|
3 |
+
import streamlit as st
|
4 |
+
import tensorflow as tf
|
5 |
+
import keras
|
6 |
+
import matplotlib.pyplot as plt
|
7 |
+
import torch
|
8 |
+
from skorch import NeuralNetClassifier
|
9 |
+
from torch import nn
|
10 |
+
import torch.nn.functional as F
|
11 |
+
import torchvision.transforms as transforms
|
12 |
+
|
13 |
+
|
14 |
class Cnn(nn.Module):
|
15 |
def __init__(self, dropout=0.5):
|
16 |
super(Cnn, self).__init__()
|