docs/html/modelDownloader_8h.html
| | Jetson Inference
DNN Vision Library |
modelDownloader.h File Reference
#include "json.hpp"
Go to the source code of this file.
|
|
| #define | JSON_STR(x) (x.is_string() ? x.get<std::string>() : "") |
| | Helper macro for getting a string from a JSON element. More...
|
| |
| #define | JSON_STR_DEFAULT(x, default) (x.is_string() ? x.get<std::string>() : default) |
| | Helper macro for getting a string from a JSON element. More...
|
| |
|
|
| bool | DownloadModel (nlohmann::json &model, uint32_t retries=2) |
| | Download a pre-trained model given its JSON config. More...
|
| |
| bool | DownloadModel (const char *type, const char *name, nlohmann::json &model, uint32_t retries=2) |
| | Download a pre-trained model and return its JSON config. More...
|
| |
| bool | FindModel (const char *type, const char *name) |
| | Check if a model can be found in the model manifest. More...
|
| |
| bool | FindModel (const char *type, const char *name, nlohmann::json &model) |
| | Find a pre-trained model's config in the model manifest. More...
|
| |
| bool | FindModel (const char *type, const char *name, nlohmann::json &models, nlohmann::json &model) |
| | Find a pre-trained model's config in the model manifest. More...
|
| |
| bool | LoadModelManifest (const char *path="networks/models.json") |
| | Load the model manifest from a JSON file. More...
|
| |
| bool | LoadModelManifest (nlohmann::json &models, const char *path="networks/models.json") |
| | Load the model manifest from a JSON file. More...
|
| |