12345678910111213141516171819202122232425 |
- import tempfile
- from testing_utils import CpuCommonTest, run_script
- class TestPCA(CpuCommonTest):
- def test_script(self):
- with tempfile.TemporaryDirectory() as td:
- run_script(
- f"python pca.py --im_path ../tests/data/ssst/multispectral.tif --save_dir {td} --dim 5",
- wd="../tools")
|