question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MNIST is not loading in Config.json

See original GitHub issue

i 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 Screenshot (37) whats the matter?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Craigacpcommented, Oct 11, 2020

The linked PR has a fix and a unit test for the fix using both the config system and the constructor.

1reaction
Craigacpcommented, Oct 11, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found