Spaces:
Runtime error
Runtime error
Create config.py
Browse files
config.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import tensorflow as tf
|
3 |
+
import numpy as np
|
4 |
+
|
5 |
+
# Setting random seed to obtain reproducible results.
|
6 |
+
tf.random.set_seed(42)
|
7 |
+
|
8 |
+
# Initialize global variables.
|
9 |
+
AUTO = tf.data.AUTOTUNE
|
10 |
+
BATCH_SIZE = 1
|
11 |
+
NUM_SAMPLES = 32
|
12 |
+
POS_ENCODE_DIMS = 16
|
13 |
+
EPOCHS = 30
|
14 |
+
H = 25
|
15 |
+
W = 25
|
16 |
+
focal = 0.6911112070083618
|