Fixed testing and added graph abstractions (#64)

* abstracted some test logic and actually using test images now

* moved logging from trainer to graph

* fixing dataset path

* refactored instant ngp code to use inheritance

* fixed my run_train

* fixed data path

* fixed data dir
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-05-09 11:54:40 -07:00
1 parent e83ce4f61b
commit 5fb3d14304
26 files changed
+8526 -270

No files matched your search

+11 -2
View File
@@ -39,6 +39,7 @@ python scripts/run_train.py
# Run with config changes
python scripts/run_train.py machine_config.num_gpus=1
python scripts/run_train.py data.dataset.downscale_factor=1
# Run with different datasets
python scripts/run_train.py data/dataset=blender_lego
@@ -82,11 +83,13 @@ direnv allow .
```
2. To run local **github actions**, you can run:
```
python scripts/debugging/run_actions.py
python scripts/debugging/run_actions.py
```
3. To run local **profiling** to get a flame graph, make sure [pyspy](https://github.com/benfred/py-spy) is installed and you can run:
```
pip install py-spy
@@ -95,4 +98,10 @@ pip install py-spy
## for live view of functions
./scripts/debugging/profile.sh -t top -p scripts/run_train.py data/dataset=blender_lego
```
```
4. For debugging with a debugger.
```
ipython --pdb scripts/run_train.py
```