theAIGuysCode / yolov4-custom-functions

A Wide Range of Custom Functions for YOLOv4, YOLOv4-tiny, YOLOv3, and YOLOv3-tiny Implemented in TensorFlow, TFLite, and TensorRT.
MIT License
601 stars 372 forks source link

TypeError: ('Not JSON Serializable:' #91

Open NaimahAlaqeel opened 2 years ago

NaimahAlaqeel commented 2 years ago

Hello everyone! I face an error when I run this command :

python save_model.py --weights ./data/custom.weights --output ./checkpoints/custom-416 --input_size 416 --model yolov4

the error message: TypeError: ('Not JSON Serializable:', b'\n\x08Softplus\x12\x08Softplus\x1a"batch_normalization/FusedBatchNorm*\x07\n\x01T\x12\x020\x01')

I couldn't find out why this error keep occurs! any help please