Saturday, July 3, 2021

AI Pool: AttributeError: 'FunctionEventAvg' object has no attribute 'name'

I am using PyTorch 1.6 profiler and want to trace the results for chrome visualization, but I get an error, which should not be there and is related to the native code of PyTorch. How to fix it? Traceback (most recent call last): File "/home/user/project/script.py", line 93, in <module> print(prof.key_averages().export_chrome_trace('/home/user/paths/trace_file')) File "/home/user/.local/lib/python3.6/site-packages/torch/autograd/profiler.py", line 154, in export_chrome_trace evt.nam...

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...