-
ubuntu count directory files
현재 위치에서 파일의 개수 세기 ls -l | grep ^- | wc -l 현재 디렉토리의 하위 파일 개수 세기 find . -type f | wc -l Reference https://lee-mandu.tistory.com/420 Read More
-
pytorch 1.7.1 install error
python-pillow - Issues Error message ... The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source. Solution pip3 -U --force-reinstall pip Read More
-
mmfashion Dockerfile GPG error
mmfashion - Issues Error message W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRe... Read More
-
warnings.warn(The default behavior for interpolate/upsample with float scale_factor changed)
PASTA-GAN-plusplus - Issues /opt/conda/lib/python3.8/site-packages/torch/nn/functional.py:3103: UserWarning: The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore t... Read More
-
ImportError: No module named 'upfirdn2d_plugin'
PASTA-GAN-plusplus - Issues Error message warnings.warn('Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:\n\n' + traceback.format_exc()) Setting up PyTorch plugin "upfirdn2d_plugin"... Failed! /workspace/PASTA-GAN-plusplus/torch_utils/ops/upfirdn2d.py:34: UserWarning: Failed to build CUDA kern... Read More
-
Torchvision RandomResizedCrop()
Pytorch - torchvision.transforms.RandomResizedCrop[1] torchvision.transforms.RandomResizedCrop(size, scale=(0.08, 1.0), ratio=(0.75, 1.3333333333333333), interpolation=<InterpolationMode.BILINEAR: 'bilinear'> ... Read More
-
Torchvision RandomHorizontalFlip()
Pytorch - torchvision.transforms.RandomHorizontalFlip[1] torchvision.transforms.RandomHorizontalFlip(p=0.5) explain Horizontally flip the given image randomly with a given probability. 주어진 확률(p)로 주어진 이미지를 Horizontally flip 합니다.[Horizontally flip은 수평으로 뒤집는것을 의미합니다.] If the image is torch Tensor, it is expected to have […, H,... Read More