babysor / babysor/MockingBird

nn.functional.tanh is deprecated

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

E:\ProgramData\Anaconda3\envs\py39env\lib\site-packages\torch\nn\functional.py:1794: UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.
warnings.warn("nn.functional.tanh is deprecated. Use torch.tanh instead.")

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for nn.functional.tanh; the issue identifies the deprecation warning but not the project file that triggers it. Run the affected voice-generation path and confirm the warning no longer appears when the deprecated call is replaced with the named torch.tanh API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.