Closed Ianpengg closed 3 years ago
I think it's because the machine you're connected to has no renderer. Could you try adding:
import matplotlib
matplotlib.use('Agg')
at the top of visualisation.py
? That would use a non-interactive backend, and not render anything before saving the image file.
It works, the problem is solved. Many thanks.
No prob! :)
Hello, recently I found your great work and I want to try the "Visualisation" part locally to check the results, but after I run the command of
python visualise.py --checkpoint ${CHECKPOINT_PATH}
my terminal pop out an error like the following:I try to solve it by searching on google but it does not help, could you help me if you know how to solve it. Many thanks.