Setting up pixi for prosailvae
- pyproject.toml with default and dev environment
- Makefile updated
- tikzplotlib dependency removed (bug with matplotlib > 3.6)
- Cleaned up old files
Some tests do not pass because of:
- Wrong type annotations
- Data have been moved
FAILED tests/test_dataloader.py::test_get_dl - typeguard.TypeCheckError: argument "path_to_patches" (pathlib.PosixPath) is not an instance of str
FAILED tests/test_dataloader.py::test_get_data - typeguard.TypeCheckError: argument "path_to_patches" (pathlib.PosixPath) is not an instance of str
FAILED tests/test_lightning_module.py::test_lightning_instanciate - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_simvae.py::test_instantiate - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_simvae.py::test_forward - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_simvae.py::test_regression_pvae_method - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_simvae.py::test_regression_pvae_distri_para_computation - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_simvae.py::test_pvae_kl_elbo - typeguard.TypeCheckError: argument "data_dir" (pathlib.PosixPath) did not match any element in the union: str: is not an instance of str NoneType: is not an instance of NoneType
FAILED tests/test_train.py::test_train_pipeline - FileNotFoundError: [Errno 2] No such file or directory: '/work/CESBIO/projects/DeepChange/PROSAILVAE/s2_patch_dataset/test_patches.pth'