Skip to content

Identify stderr output and redirect it to stdout

Eva Bardou requested to merge clean-stderr into main

To deactivate the Pytorch warning being sent to stderr, one needs to add the following lines to the script calling DocUFCN():

import warnings

warnings.filterwarnings('ignore')

The warning is resulting from a bug in Pytorch 1.9.0 and should be fixed in Pytorch 1.9.1, so another way to fix this issue should be to update Pytorch. For more information, see: https://github.com/pytorch/pytorch/issues/60053

Closes #9 (closed)

Merge request reports

Loading