Instructions to use kisambu/tuberculoscan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use kisambu/tuberculoscan with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://kisambu/tuberculoscan") - Notebooks
- Google Colab
- Kaggle
Download application2/windows/runner/utils.h from kisambu/tuberculoscan: direct link, hf CLI and curl.
- Browser
- Download file 691 Bytes
-
https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/windows/runner/utils.h
- Command line
-
hf download hf://kisambu/tuberculoscan/application2/windows/runner/utils.h
-
curl -L -o utils.h https://huggingface.co/kisambu/tuberculoscan/resolve/main/application2/windows/runner/utils.h
691 Bytes
| // Creates a console for the process, and redirects stdout and stderr to | |
| // it for both the runner and the Flutter library. | |
| void CreateAndAttachConsole(); | |
| // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string | |
| // encoded in UTF-8. Returns an empty std::string on failure. | |
| std::string Utf8FromUtf16(const wchar_t* utf16_string); | |
| // Gets the command line arguments passed in as a std::vector<std::string>, | |
| // encoded in UTF-8. Returns an empty std::vector<std::string> on failure. | |
| std::vector<std::string> GetCommandLineArguments(); | |