Open wangk98 opened 3 years ago
Hello @wangk98, thanks for raising this issue. This case for the plot only works if you train your model with the METRIC parameters: https://github.com/AlirezaShamsoshoara/Fire-Detection-UAV-Aerial-Image-Classification-Segmentation-UnmannedAerialVehicle/blob/473e289f0f9de127161bedd837567df923e68cd4/training.py#L42-L52
However, in the current version, only, accuracy was used as a metric. Hence, if you make these changes, there won't be any issue: In plotdata.py, change line#21 https://github.com/AlirezaShamsoshoara/Fire-Detection-UAV-Aerial-Image-Classification-Segmentation-UnmannedAerialVehicle/blob/473e289f0f9de127161bedd837567df923e68cd4/plotdata.py#L21
to this:
(fig, ax) = plt.subplots(1, 1, figsize=(13, 13))
and comment out lines# 34 - 45 (inclusive).
I will make these changes in a new branch and I will submit them. Let me know if there is still any issues.
Good luck!
Sorry to disturb you again. After I changed it according to the above method, the following error was reported: Then I change line#21(in plotdata.py) to (fig, ax) = plt.subplots(2, 1, figsize=(13, 13),squezee=False) the following error was reported: and I do not know how to solve it
Hello, thank you for you Great research. I compile your code I have same error.
I changed code and commet lines.
@hyojun-rtdata @wangk98 @AlirezaShamsoshoara Did you solve it ?
@AlirezaShamsoshoara
Hi I hope you doing well I ran your code In my system while running. I get the val_loss as nan I tried to find the sol but didn't find anything regarding this so please if you know the reason let me know thank you
Hello, When I run the code of "mode = 'training“, the following error appears.
Do you know how to solve it?