pytorch深度学习训练想要显示进度条,引入‘import tqdm‘后,出现TypeError: ‘module‘ object is not callable

pytorch深度学习训练想要显示进度条,引入’import tqdm’后,出现TypeError: ‘module’ object is not callable
pytorch深度学习训练想要显示进度条,引入‘import tqdm‘后,出现TypeError: ‘module‘ object is not callable_第1张图片
解决方法:
import tqdm改为from tqdm import tqdm即可
pytorch深度学习训练想要显示进度条,引入‘import tqdm‘后,出现TypeError: ‘module‘ object is not callable_第2张图片

你可能感兴趣的:(pytorch,python)