Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I ran into an issue where save_layer in model_utils.py is giving me an error that: AttributeError: 'Dense' object has no attribute 'output_shape' I found that layer.output.shape works, but isn't always a tuple, which runs afoul of the JSON encoder. So I added check for that too. I modified the code and it seems to work on Macos, Linux, Windows. I've included my debugging print statements so you can see what I was looking at.
- Loading branch information