PyTorch_Tutorial icon indicating copy to clipboard operation
PyTorch_Tutorial copied to clipboard

《Pytorch模型训练实用教程》中配套代码

Results 39 PyTorch_Tutorial issues
Sort by recently updated
recently updated
newest added

Hello, i run the grad cam on my two projects, one is about face recognition, and the another is about video action recognition. However, the result image of CAM focus...

Bumps [numpy](https://github.com/numpy/numpy) from 1.15.1 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 1.12.0 to 2.7.2. Release notes Sourced from tensorflow's releases. TensorFlow 2.7.2 Release 2.7.2 This releases introduces several vulnerability fixes: Fixes a code injection in saved_model_cli (CVE-2022-29216) Fixes...

dependencies

源代码如下: ```python def comp_class_vec(ouput_vec, index=None): if not index: index = np.argmax(ouput_vec.cpu().data.numpy()) # int else: index = np.array(index) index = index[np.newaxis, np.newaxis] # (1,1) ndarray index = torch.from_numpy(index) # (1,1) Tensor...

Traceback (most recent call last): File "E:/王庆洲毕设/PyTorch_Tutorial-master/Code/main_training/main.py", line 38, in writer = SummaryWriter(log_dir=log_dir) File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\tensorboardX\writer.py", line 292, in __init__ from caffe2.python import workspace # workaround for pytorch/issue#10249 File "D:\MiniConda3\envs\PyTorch_Tutorial-master\lib\site-packages\caffe2\python\__init__.py", line...

Bumps [pillow](https://github.com/python-pillow/Pillow) from 5.2.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@​radarhere, @​hugovk] Restrict builtins within...

dependencies

Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.6.1 to 3.15.0. Release notes Sourced from protobuf's releases. Protocol Buffers v3.15.0 Protocol Compiler Optional fields for proto3 are enabled by default, and no longer require the...

dependencies

Bumps [opencv-python](https://github.com/skvark/opencv-python) from 3.4.3.18 to 4.2.0.32. Release notes Sourced from opencv-python's releases. 4.2.0.32 opencv-python: https://pypi.org/project/opencv-python/ opencv-contrib-python: https://pypi.org/project/opencv-contrib-python/ opencv-python-headless: https://pypi.org/project/opencv-python-headless/ opencv-contrib-python-headless: https://pypi.org/project/opencv-contrib-python-headless/ OpenCV version 4.2.0. Changes: macOS environment updated from xcode8.3...

dependencies