How could I swtich off these error message


I use screen command to start my training program, but when I got some error and the program crashes, I see error messages like this:

These are not showing me which part of my code is wrong, and I cannot see more since screen is occupied by the latest messages. How could I switch off these please?