Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Hot fix guildline in read me #1

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ If you need more visualizations, use `add_scalar('tag', data)`, `add_image('tag'

**Note**: You don't have to specify current steps, since `WriterTensorboard` class defined at `logger/visualization.py` will track current steps.

**known issue**: when using numpy>=1.24 and pytorch <=1.13 may encontered Type error: No loop matching the specified signature and casting was found for ufunc greater which will fixed by following update of pytorch.

one fix is to install the pkg from source, since it has been fixed in source just havent released yet. another if following this hot fix that modify the torch/utils/tensorboard/summary.py from cum_counts = np.cumsum(np.greater(counts, 0, dtype=np.int32)) to cum_counts = np.cumsum(np.greater(counts, 0)) one can find the pkg source by clicking the import line in vscode
## Contribution
Feel free to contribute any kind of function or enhancement, here the coding style follows PEP8

Expand Down