Spaces:
Runtime error
Runtime error
Laura Cabayol Garcia
commited on
Commit
·
999af9c
1
Parent(s):
776c2cb
deploy AT
Browse files- .github/workflows/basic_AT.yml +5 -0
- tests/test_temps.py +1 -1
.github/workflows/basic_AT.yml
CHANGED
@@ -28,6 +28,11 @@ jobs:
|
|
28 |
|
29 |
- name: Install temps
|
30 |
run: pip install -e .[explicit]
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
# Run the tests and specify the temporary directory as output_dir
|
33 |
- name: Run tests
|
|
|
28 |
|
29 |
- name: Install temps
|
30 |
run: pip install -e .[explicit]
|
31 |
+
# Add this new step to download model files
|
32 |
+
- name: Download model files
|
33 |
+
run: |
|
34 |
+
mkdir -p data/models
|
35 |
+
wget -O data/models/modelF_DA.pt https://raw.githubusercontent.com/TEMPS/master/data/models/modelF_DA.pt
|
36 |
|
37 |
# Run the tests and specify the temporary directory as output_dir
|
38 |
- name: Run tests
|
tests/test_temps.py
CHANGED
@@ -17,7 +17,7 @@ def test():
|
|
17 |
|
18 |
col = np.array([0.54804805, 1.81142339, 0.63354394, 0.7356338 , 1.3578122 ,
|
19 |
0.90108565])
|
20 |
-
ztrue = 0.
|
21 |
|
22 |
z, pz, odds = temps_module.get_pz(input_data=torch.Tensor(col),
|
23 |
return_pz=True,
|
|
|
17 |
|
18 |
col = np.array([0.54804805, 1.81142339, 0.63354394, 0.7356338 , 1.3578122 ,
|
19 |
0.90108565])
|
20 |
+
ztrue = 0.4446
|
21 |
|
22 |
z, pz, odds = temps_module.get_pz(input_data=torch.Tensor(col),
|
23 |
return_pz=True,
|