loading weights
Browse files- app.py +11 -2
- wbs/best_0.0_params.pkl +0 -0
- wbs/best_1000.0_params.pkl +0 -0
- wbs/dcm2-best_1000.0_params.pkl +0 -0
- wbs/dcm3-best_1000.0_params.pkl +0 -0
- wbs/dcm4-best_1000.0_params.pkl +0 -0
app.py
CHANGED
@@ -9,7 +9,14 @@ import matplotlib.pyplot as plt
|
|
9 |
import numpy as np
|
10 |
import optax
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
# Disable future warnings.
|
15 |
import warnings
|
@@ -23,7 +30,9 @@ rotation = e3x.so3.random_rotation(rotation_key)
|
|
23 |
|
24 |
st.write(rotation)
|
25 |
|
26 |
-
st.write(
|
|
|
|
|
27 |
|
28 |
x = st.slider('Select a value')
|
29 |
st.write(x, 'squared is', x * x)
|
|
|
9 |
import numpy as np
|
10 |
import optax
|
11 |
|
12 |
+
|
13 |
+
import pandas as pd
|
14 |
+
from dcmnet.modules import MessagePassingModel
|
15 |
+
|
16 |
+
test_weights = pd.read_pickle("wbs/best_0.0_params.pkl")
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
|
21 |
# Disable future warnings.
|
22 |
import warnings
|
|
|
30 |
|
31 |
st.write(rotation)
|
32 |
|
33 |
+
st.write(MessagePassingModel)
|
34 |
+
st.write(test_weights)
|
35 |
+
|
36 |
|
37 |
x = st.slider('Select a value')
|
38 |
st.write(x, 'squared is', x * x)
|
wbs/best_0.0_params.pkl
ADDED
Binary file (21.9 kB). View file
|
|
wbs/best_1000.0_params.pkl
ADDED
Binary file (22.8 kB). View file
|
|
wbs/dcm2-best_1000.0_params.pkl
ADDED
Binary file (22.4 kB). View file
|
|
wbs/dcm3-best_1000.0_params.pkl
ADDED
Binary file (22.8 kB). View file
|
|
wbs/dcm4-best_1000.0_params.pkl
ADDED
Binary file (23.3 kB). View file
|
|