Closed BAI-WQ closed 3 weeks ago
Hi, thanks for your interest. Could you elaborate on the training logs that you need? If loss logs are needed, you can simply add a SummaryWriter to the code.
Thank you for your response!I followed the instructions in your README file to run the program, but it didn’t generate the corresponding training.log. Everything else runs fine, except for the absence of the training.log. I am working on face detection, and I noticed that in your code the mAP calculation is not included—do I need to add it manually!By the way, could you let me know which GPU you used to run the program?
Thanks for your reply. As I recall, we didn’t calculate mAP during the training of face detection. Instead, we used the validation loss to monitor the model’s performance and selected the best-performing one for testing.
Alright, could you let me know why the training.log file isn’t generated when I run the program? Does the code above need any adjustments?
The code looks fine to me. I would suggest specifying an absolute file path or closing the logging file to force it to write. Alternatively, you could start with a toy example to ensure the logging works first.
And also notice that you have a '、' after 'losses += loss.item()'. Maybe checking the code again could help
Thank you for your advise, I will try it!!!
Hello, author! Thank you very much for your outstanding work. I am very interested in your project! However, when I started training for reproducing low-light face detection on WiderFace--DarkFace, I noticed that no logs were generated. After reading the source code, I couldn't figure out the issue, as the map function was not defined. Could you please advise me on how to handle this part? I would appreciate your help