forked from ADGEfficiency/energy-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·34 lines (25 loc) · 767 Bytes
/
Makefile
File metadata and controls
executable file
·34 lines (25 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: test pushs3
setup:
pip install -q -r requirements.txt
pip install .
test: setup
pytest tests -m "not pybox2d" --tb=line --disable-pytest-warnings
test-with-pybox2d:
pytest tests --tb=line --disable-pytest-warnings
tensorboard:
tensorboard --logdir experiments
monitor:
jupyter lab
pulls3:
make pulls3-dataset
make pulls3-nem
pulls3-dataset:
aws --no-sign-request --region ap-southeast-2 s3 cp s3://energy-py/public/dataset.zip dataset.zip
unzip dataset.zip
pulls3-nem:
aws --no-sign-request --region ap-southeast-2 s3 cp s3://energy-py/public/nem.zip nem.zip
unzip nem.zip; mv nem-data ~
setup-pybox2d-macos:
brew install swig
git clone https://github.com/pybox2d/pybox2d
cd pybox2d_dev; python setup.py build; python setup.py install