├── .dockerignore ├── .flake8 ├── .github └── workflows │ ├── CI-build-test.yml │ ├── CI-pre-build.yml │ ├── CICD-dev.yml │ ├── CICD-main.yml │ └── CICD-pr.yml ├── .gitignore ├── Dockerfile ├── Dockerfile-cleanup ├── LICENSE ├── Pipfile ├── README.md ├── app.py ├── config.yml.example ├── docker ├── clean-static-cron.sh ├── logrotate-cron.sh ├── logrotate.conf └── uwsgi.ini ├── env.list.example ├── export_data.py ├── forms.py ├── generate_thresholds.py ├── geopackager.py ├── lib ├── coord_encoder.py ├── inat_inferrer.py ├── inat_vision_api.py ├── inat_vision_api_responses.py ├── logstasher.py ├── model_taxonomy_dataframe.py ├── model_test_data_export_manager.py ├── model_test_data_exporter.py ├── pt_geo_prior_model.py ├── res_layer.py ├── templates │ └── home.html ├── test_observation.py ├── tf_gp_elev_model.py ├── vision_inferrer.py ├── vision_testing.py └── web_forms.py ├── log └── .gitkeep ├── pytest.ini ├── requirements-test.txt ├── requirements.txt ├── static └── .gitkeep ├── taxon_range_evaluation.py ├── test_model.py ├── tests ├── __init__.py ├── conftest.py ├── fixtures │ ├── elevation.csv │ ├── lamprocapnos_spectabilis.jpeg │ ├── synonyms.csv │ ├── taxon_ranges │ │ └── 7.csv │ ├── taxonomy.csv │ └── thresholds.csv ├── test_inat_inferrer.py ├── test_model_taxonomy_dataframe.py ├── test_res_layer.py ├── test_tf_gp_elev_model.py └── test_vision_inferrer.py └── utils └── format_elev_feats.py /.dockerignore: -------------------------------------------------------------------------------- 1 | __pyache__ 2 | log/* 3 | static/* 4 | venv 5 | config.yml 6 | models -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/workflows/CI-build-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.github/workflows/CI-build-test.yml -------------------------------------------------------------------------------- /.github/workflows/CI-pre-build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.github/workflows/CI-pre-build.yml -------------------------------------------------------------------------------- /.github/workflows/CICD-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.github/workflows/CICD-dev.yml -------------------------------------------------------------------------------- /.github/workflows/CICD-main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.github/workflows/CICD-main.yml -------------------------------------------------------------------------------- /.github/workflows/CICD-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.github/workflows/CICD-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile-cleanup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/Dockerfile-cleanup -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/Pipfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/app.py -------------------------------------------------------------------------------- /config.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/config.yml.example -------------------------------------------------------------------------------- /docker/clean-static-cron.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | find /var/vision/static -type f -mmin +10 -exec rm {} \; -------------------------------------------------------------------------------- /docker/logrotate-cron.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/docker/logrotate-cron.sh -------------------------------------------------------------------------------- /docker/logrotate.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/docker/logrotate.conf -------------------------------------------------------------------------------- /docker/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/docker/uwsgi.ini -------------------------------------------------------------------------------- /env.list.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/env.list.example -------------------------------------------------------------------------------- /export_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/export_data.py -------------------------------------------------------------------------------- /forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/forms.py -------------------------------------------------------------------------------- /generate_thresholds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/generate_thresholds.py -------------------------------------------------------------------------------- /geopackager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/geopackager.py -------------------------------------------------------------------------------- /lib/coord_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/coord_encoder.py -------------------------------------------------------------------------------- /lib/inat_inferrer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/inat_inferrer.py -------------------------------------------------------------------------------- /lib/inat_vision_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/inat_vision_api.py -------------------------------------------------------------------------------- /lib/inat_vision_api_responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/inat_vision_api_responses.py -------------------------------------------------------------------------------- /lib/logstasher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/logstasher.py -------------------------------------------------------------------------------- /lib/model_taxonomy_dataframe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/model_taxonomy_dataframe.py -------------------------------------------------------------------------------- /lib/model_test_data_export_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/model_test_data_export_manager.py -------------------------------------------------------------------------------- /lib/model_test_data_exporter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/model_test_data_exporter.py -------------------------------------------------------------------------------- /lib/pt_geo_prior_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/pt_geo_prior_model.py -------------------------------------------------------------------------------- /lib/res_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/res_layer.py -------------------------------------------------------------------------------- /lib/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/templates/home.html -------------------------------------------------------------------------------- /lib/test_observation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/test_observation.py -------------------------------------------------------------------------------- /lib/tf_gp_elev_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/tf_gp_elev_model.py -------------------------------------------------------------------------------- /lib/vision_inferrer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/vision_inferrer.py -------------------------------------------------------------------------------- /lib/vision_testing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/vision_testing.py -------------------------------------------------------------------------------- /lib/web_forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/lib/web_forms.py -------------------------------------------------------------------------------- /log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/requirements-test.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/requirements.txt -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /taxon_range_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/taxon_range_evaluation.py -------------------------------------------------------------------------------- /test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/test_model.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/fixtures/elevation.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/elevation.csv -------------------------------------------------------------------------------- /tests/fixtures/lamprocapnos_spectabilis.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/lamprocapnos_spectabilis.jpeg -------------------------------------------------------------------------------- /tests/fixtures/synonyms.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/synonyms.csv -------------------------------------------------------------------------------- /tests/fixtures/taxon_ranges/7.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/taxon_ranges/7.csv -------------------------------------------------------------------------------- /tests/fixtures/taxonomy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/taxonomy.csv -------------------------------------------------------------------------------- /tests/fixtures/thresholds.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/fixtures/thresholds.csv -------------------------------------------------------------------------------- /tests/test_inat_inferrer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/test_inat_inferrer.py -------------------------------------------------------------------------------- /tests/test_model_taxonomy_dataframe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/test_model_taxonomy_dataframe.py -------------------------------------------------------------------------------- /tests/test_res_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/test_res_layer.py -------------------------------------------------------------------------------- /tests/test_tf_gp_elev_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/test_tf_gp_elev_model.py -------------------------------------------------------------------------------- /tests/test_vision_inferrer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/tests/test_vision_inferrer.py -------------------------------------------------------------------------------- /utils/format_elev_feats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inaturalist/inatVisionAPI/HEAD/utils/format_elev_feats.py --------------------------------------------------------------------------------