As you may have already guessed, the carnivore training is going to be fairly close as to what we did with the plant eaters. Follow along with this exercise to train the carnivore:
- Open Visual Studio Code or another text editor and load the trainer_config.yaml file.
- Add the CarnivoreBrain settings, essentially a clone of the HerbivoreBrain settings, to the end of the file, as shown in the following code:
CarnivoreBrain: use_recurrent: true sequence_length: 64 num_layers: 1 hidden_units: 128 memory_size: 512 beta: 1.0e-2 gamma: 0.99 num_epoch: 3 buffer_size: 1024 batch_size: 128 max_steps: 5.0e5 summary_freq: 500 time_horizon: 128
- Save the file when you are done editing it.
- Open a Python or Anaconda prompt and activate ...