Импорт torch.utils.tensorboard вызывает предупреждения тензорного потокаPython

Программы на Python
Anonymous
Импорт torch.utils.tensorboard вызывает предупреждения тензорного потока

Сообщение Anonymous »

Как указано здесь, тензорная доска является частью тензорного потока, но не зависит от него. Его можно использовать в pytorch, например

Код: Выделить всё

from torch.utils.tensorboard import SummaryWriter
Однако раздражает то, что этот импорт вызывает длинный след предупреждений, связанных с тензорным потоком.

Код: Выделить всё

2024-03-28 12:11:43.296359: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-03-28 12:11:43.331928: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-28 12:11:43.970865: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Интересно, необходимо ли это и/или как их можно (безопасно?) отключить.


Подробнее здесь: https://stackoverflow.com/questions/782 ... w-warnings

Вернуться в «Python»