MNIST is not loading in Config.json
See original GitHub issuei m using tribuo and trying to find mnist dataset in config json …all the components are loading nut MNIST test/train is giving me NULL POINTER EXCEPTION.
1.my config code
ConfigurationManager.addFileFormatFactory(new JsonConfigFactory()); String configFile = "config.json"; ConfigurationManager cm = new ConfigurationManager(configFile); System.out.println( cm.lookup("mnist-train")); //GIVING NULL POINTER EXCEPTION System.out.println( cm.lookup("logistic")); //RUNNING PERFECTLY FINE RETURNING LOGISSTIC TRAINER
2.MY CONFIG.JSON
whats the matter?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Error loading Tensorflow keras Model (.h5) - Stack Overflow
You need to save your model architecture in a json file and then use model_from_json , to load model configuration, hence, you can...
Read more >Saving and Loading Keras model using JSON and YAML files
I have used the Fashion MNIST dataset, which we use to save and then reload the model using different methods. We need to...
Read more >tf.keras.datasets.mnist.load_data | TensorFlow v2.11.0
This is a dataset of 60,000 28x28 grayscale images of the 10 digits, along with a test set of 10,000 images. More info...
Read more >MNIST Training using PyTorch - Amazon SageMaker Examples
This tutorial will show how to train and test an MNIST model on SageMaker using ... config file /opt/ml/input/config/checkpointconfig.json does not exist.
Read more >MNIST Classification with CNN - Kaggle
if not config.is_kaggle_platform: try: import kaggle except: !pip install kaggle if not os.path.exists("/root/.kaggle/kaggle.json"): !echo ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The linked PR has a fix and a unit test for the fix using both the config system and the constructor.
However running the configuration tutorial on Windows will lead to issues with XGBoost as the XGBoost binary that the developers put on Maven central doesn’t have a Windows dll in it, only macOS and Linux. It’s possible to compile XGBoost 1.0.0 (which Tribuo 4.0 uses) for Windows (I’ve done this for internal use and contributed fixes for it upstream) and then adding that dll to the XGBoost jar next to the so and dylib will make it work.