add deps to app
Browse files
app.py
CHANGED
@@ -1,4 +1,28 @@
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
st.write(x, 'squared is', x * x)
|
|
|
1 |
import streamlit as st
|
2 |
+
import os
|
3 |
+
import torch
|
4 |
+
#import math
|
5 |
+
import numpy as np
|
6 |
+
#import matplotlib.pyplot as plt
|
7 |
+
#import pathlib
|
8 |
+
i#from AtomLenz import *
|
9 |
+
#from utils_graph import *
|
10 |
+
#from Object_Smiles import Objects_Smiles
|
11 |
+
|
12 |
+
#from robust_detection import wandb_config
|
13 |
+
from robust_detection import utils
|
14 |
+
from robust_detection.models.rcnn import RCNN
|
15 |
+
from robust_detection.data_utils.rcnn_data_utils import Objects_RCNN, COCO_RCNN
|
16 |
+
|
17 |
+
import pytorch_lightning as pl
|
18 |
+
from pytorch_lightning.loggers import WandbLogger
|
19 |
+
from pytorch_lightning.loggers import CSVLogger
|
20 |
+
from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoint
|
21 |
+
from pytorch_lightning.callbacks.early_stopping import EarlyStopping
|
22 |
+
from pytorch_lightning.callbacks import LearningRateMonitor
|
23 |
+
from rdkit import Chem
|
24 |
+
from rdkit.Chem import AllChem
|
25 |
+
from rdkit import DataStructs
|
26 |
|
27 |
x = st.slider('Select a value')
|
28 |
st.write(x, 'squared is', x * x)
|