Closed fizzking closed 1 year ago
One possible cause is the use of matplotlib
. Could you try to add matplotlib.use('Agg')
where the package matplotlib
is imported, e.g.:
import matplotlib
matplotlib.use('Agg')
from matplotlib import pyplot
You may find more related discussions in this link.
是的
One possible cause is the use of
matplotlib
. Could you try to addmatplotlib.use('Agg')
where the packagematplotlib
is imported, e.g.:import matplotlib matplotlib.use('Agg') from matplotlib import pyplot
You may find more related discussions in this link. Thanks a lot!I finally solved the problem according to your instructions!Since the py file is read-only, I open it as a document to modify it
Great. Close as it has been solved. Please feel free to reopen / create new issues if you encounter any problems using the code.
I have tried to train earthformer on Nbody, but this error occurs, what should I do?
,