AmirShabani commited on
Commit
eb556bd
1 Parent(s): 289f0c1

post-requirements test

Browse files
Files changed (3) hide show
  1. core.py +5 -0
  2. post-requirements.txt +4 -0
  3. requirements.txt +8 -4
core.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import pickle
2
  import numpy as np
3
  import pandas as pd
 
1
+ import subprocess
2
+ import sys
3
+
4
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "./post-requirements.txt"])
5
+
6
  import pickle
7
  import numpy as np
8
  import pandas as pd
post-requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ -r ./prerequirements.txt
2
+ torch_geometric
3
+ torch_scatter
4
+ torch_sparse
requirements.txt CHANGED
@@ -1,4 +1,8 @@
1
- -r ./prerequirements.txt
2
- torch_geometric
3
- torch_scatter
4
- torch_sparse
 
 
 
 
 
1
+ requests
2
+ pillow
3
+ numpy
4
+ pandas
5
+ scikit-learn
6
+ torch
7
+ torchvision
8
+ torchaudio