I copied the lid-driven cavity code and pasted it in a jupyter notebook in different cells without making any changes.
This part of code gives me an error.
if __name__ == '__main__':
ctr = ModulusController(LDCSolver)
ctr.run()
usage: ipykernel_launcher.py [-h] [--run_mode {solve,eval,plot_data}]
[--network_dir NETWORK_DIR]
[--initialize_network_dir INITIALIZE_NETWORK_DIR]
[--added_config_dir ADDED_CONFIG_DIR]
[--rec_results REC_RESULTS]
[--rec_results_cpu REC_RESULTS_CPU]
[--rec_results_freq REC_RESULTS_FREQ]
[--max_steps MAX_STEPS]
[--save_filetypes SAVE_FILETYPES] [--xla XLA]
[--inner_norm INNER_NORM]
[--outer_norm OUTER_NORM]
[--activation_fn ACTIVATION_FN]
[--layer_size LAYER_SIZE] [--nr_layers NR_LAYERS]
[--skip_connections SKIP_CONNECTIONS]
[--weight_norm WEIGHT_NORM]
[--adaptive_activations ADAPTIVE_ACTIVATIONS]
[--start_lr START_LR] [--end_lr END_LR]
[--decay_steps DECAY_STEPS]
[--decay_rate DECAY_RATE] [--beta1 BETA1]
[--beta2 BETA2] [--epsilon EPSILON] [--amp AMP]
ipykernel_launcher.py: error: unrecognized arguments: -f /lustrehome/home/s.1915438/.local/share/jupyter/runtime/kernel-11d0f9b4-52b4-43c1-9b91-324e20fa1541.json
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2
How to resolve this issue?