Usage

Installation

To use Lumache, first install it using pip:

(.venv) $ pip install jianyao_forse

Creating recipes

To retrieve a list of random ingredients, you can use the after_training12amin.post_training function:

after_training12amin.post_training(NNout_Q, NNout_U, training_files_Q, training_file_U, MF=True)

All processes after the training. training_files_Q/U; input training files for the NN, shape:(2, 348, 320, 320)

The kind parameter should be either "meat", "fish", or "veggies". Otherwise, after_training12amin.post_training() will raise an exception.

exception after_training12amin.post_training(NNout_Q, NNout_U, training_files_Q, training_file_U, MF=True)

All processes after the training. training_files_Q/U; input training files for the NN, shape:(2, 348, 320, 320)

For example:

>>> import lumache
>>> lumache.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']