-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named 'upfirdn2d_plugin' #97
Comments
This seems like a new one. MSVC seems to be unable to build pytorch headers:
You could try narrowing it down a bit. Maybe my earlier reply here #67 (comment) would help give some idea. Does it work on older PyTorch versions, like 1.7.x? |
I tried with Torch 1.7.1 and still no dice. |
Running ninja in the directory
Running it this directory Outputs this:
And running it in this directory Outputs this:
|
Is the log complete or truncated? In particular Can you try a clean build with ninja? I think that'd be Nothing in your log rings a bell for me, so I don't know if I can be of much help. |
|
I have this exact same problem; is there any way to disable these fancy but useless "compiled-on-the-fly extensions" and just use base pytorch? By basing the model around these it makes it very difficult to actually USE this model for anything realistic unless you happen to have full control over whichever environment you're running the code in (read: you're the original developers). The model should be environment and CUDA agnostic. |
I realized earlier today that I posted a comment on a closed issue (#39). This is a repeat but for this #97 issue which seems to still be open. It seems to be related to the thread. The Pytorch version is 1.7.1 on this machine I am testing. I am running on a CentOS platform and got the stylegan2-ada-pytorch notebook to work fine except when it reaches the training stage "python train.py ....". I am getting errors for both bias_act_plugin and upfirdn2d_plugin. I have tried some of the suggestions here but wonder if there is a resolution? Perhaps I am not using the right version of CUDA or Pytorch? My Pytorch is 1.7.1. Here is where the errors and tracebacks begin: Constructing networks... |
Make sure that you have From the README:
|
Yeah - it is not on the system (CentOS based) unfortunately so I guess I need to install as —user if possible? Otherwise I can ask the sysadmins.
-p
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
… On Jul 4, 2021, at 4:55 PM, Wok ***@***.***> wrote:
Make sure that you have nvcc on your system.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Make sure that you have Moreover, ensure that the version is recent enough:
Other than that, make sure that If this does not work, or if In case this is helpful: |
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
I worked on a Jupyter workbook and got this far. I had to use a “module” on this system
to load cuda and then
[Graphical user interface, text, application Description automatically generated]
So far so good, but later on in training, the same problem:
Constructing networks...
starting G epochs: 0.0
starting G epochs: 0.0
Resuming from "./pretrained/wikiart.pkl"
starting G epochs: 0.0
starting G epochs: 0.0
Setting up PyTorch plugin "bias_act_plugin"... Failed!
/work2/08262/fishwick/maverick2/notebooks/stylegan2-ada-pytorch/torch_utils/ops/bias_act.py:50: UserWarning: Failed to build CUDA kernels for bias_act. Falling back to slow reference implementation.
…-paul
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
From: Wok ***@***.***>
Reply-To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Date: Monday, July 5, 2021 at 2:18 AM
To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Cc: Paul Fishwick ***@***.***>, Comment ***@***.***>
Subject: Re: [NVlabs/stylegan2-ada-pytorch] ImportError: No module named 'upfirdn2d_plugin' (#97)
Make sure that you have gcc and g++ on your machine or Docker image, and try again. I think it is sufficient based on:
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#compiling-examples
Other than that, make sure that nvcc is in your path environment variable:
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#faq2
If this does not work, or if nvcc is still not on your system (despite g++ being there), one would have to look for another way to install it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#97 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA23JD43SOBKGQUNVF5XAMDTWFMF5ANCNFSM43R7AARQ>.
|
ImportError: No module named 'upfirdn2d_plugin' or Setting up PyTorch plugin "upfirdn2d_plugin"... Failed! or ImportError: DLL load failed while importing upfirdn2d_plugin: The specified module could not be found. My case:
I got the same problem and tried solutions mentioned in the above issues (didn't work for me). Inspired by this, I finally made it work in Windows:
|
This is consistent with the requirements mentioned in the README. However, this won't solve the issue for everyone in this thread. For instance:
|
I would like to thank both Aemika and Wok for their comments. Aemika: your inclusion of the necessary
pip install helped me tremendously. I guess SG2-ADA-Pytorch is finicky. Now, I am getting a different
set of errors but they are related to # of GPUs and not to Torch issues. This may need to be filed as a
separate github issue. I am including it here only because one thing started working (successful loading
of bias_act_plugin and upfirdn2d_plugin now work) only to fail on something else.
The training works so far with gpus=1 even though the waiting on Ticks takes forever…but it always has.
The problem is when gpus=2 (the node I am on has two v100s). I get to Tick 0 (nice!) but then there is
an error that seems directly related to gpus other than 1. Traceback truncated and file references
anonymized.
Has anyone tried more than 1 gpu, or have you seen a similar traceback?
Distributing across 2 GPUs...
Setting up training phases...
Exporting sample images...
Initializing logs...
Truncated Traceback (most recent call last):
torch.multiprocessing.spawn(fn=subprocess_fn, args=(args, temp_dir), nprocs=args.num_gpus)
File "…/python3.7/site-packages/torch/multiprocessing/spawn.py", line 199, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/…python3.7/site-packages/torch/multiprocessing/spawn.py", line 157, in start_processes
while not context.join():
File "…/python3.7/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
…-- Process 1 terminated with the following error:
Truncated Traceback (most recent call last):
File "…/python3.7/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
File …./notebooks/stylegan2-ada-pytorch/train.py", line 422, in subprocess_fn
training_loop.training_loop(rank=rank, **args)
File "…/notebooks/stylegan2-ada-pytorch/training/training_loop.py", line 290, in training_loop
loss.accumulate_gradients(phase=phase.name, real_img=real_img, real_c=real_c, gen_z=gen_z, gen_c=gen_c, sync=sync, gain=gain)
File "…/notebooks/stylegan2-ada-pytorch/training/loss.py", line 134, in accumulate_gradients
training_stats.report('Loss/D/loss', loss_Dgen + loss_Dreal)
RuntimeError: The size of tensor a (4) must match the size of tensor b (2) at non-singleton dimension 0
-paul
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
From: AemikaChow ***@***.***>
Reply-To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Date: Wednesday, July 7, 2021 at 1:31 AM
To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Cc: Paul Fishwick ***@***.***>, Comment ***@***.***>
Subject: Re: [NVlabs/stylegan2-ada-pytorch] ImportError: No module named 'upfirdn2d_plugin' (#97)
ImportError: No module named 'upfirdn2d_plugin' or Setting up PyTorch plugin "upfirdn2d_plugin"... Failed! or ImportError: DLL load failed while importing upfirdn2d_plugin: The specified module could not be found.
#2, #11, #28, #34, #35, #37, #39, #67, #72, and now #97.
My case:
OS: Windows 10
PyTorch version 1.9.0+cu111
CUDA toolkit version Cuda 11.1
NVIDIA driver version NVIDIA Graphics Driver 471.11
GPU RTX 3090
Docker: did you use Docker? No
I got the same problem and tried solutions mentioned in the above issues (didn't work for me). Inspired by this, I finally made it work in Windows:
Make sure you already installed Visual Studio (I installed Visual Studio 2019) and run the C:\Program Files (x86)\Microsoft Visual Studio\<VERSION>\Community\VC\Auxiliary\Build\vcvars64.bat.
Make sure your env 1.7.1+cu110 (I still got the same error until I create a new env in the cmd with the following command
pip install torch===1.7.1+cu110 torchvision===0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@metaphorz This is another issue. Go to #91 or #98 :) |
These seem tangentially related but not specific to my issue. I have posted a new issue on # GPUs.
Searched through all issues and nothing related.
…-p
Paul Fishwick, PhD
Distinguished University Chair of Arts, Technology, and Emerging Communication
Professor of Computer Science
Director, Creative Automata Laboratory
The University of Texas at Dallas
Arts & Technology
800 West Campbell Road, AT10
Richardson, TX 75080-3021
Home: utdallas.edu/atec/fishwick
Media: ***@***.***
Modeling: digest.sigsim.org
Twitter: @PaulFishwick
ONLINE: Webex,Collaborate, TEAMS, Zoom, Skype, Hangout
From: Wok ***@***.***>
Reply-To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Date: Wednesday, July 7, 2021 at 12:52 PM
To: NVlabs/stylegan2-ada-pytorch ***@***.***>
Cc: Paul Fishwick ***@***.***>, Mention ***@***.***>
Subject: Re: [NVlabs/stylegan2-ada-pytorch] ImportError: No module named 'upfirdn2d_plugin' (#97)
@metaphorz This is another issue. Go to #91 or #98 :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I was breaking my head with upfirdn2d_plugin error as well. At first I tried Docker as a workaround since it ran flawlessly. However, I finally solved it today in my machine thanks to reading the posts here It turns out that I was relying on anaconda's install of cuda-toolkit since on paper I was working with cuda 11.1. However, this installation lacked nvcc, which is needed by upfirdn2d_plugin. In the end, the solution was to install cuda-toolkit from the .deb package. I followed this tutorial and now it is working!! One last thing. It worked best without exporting the path variables at the end of the tutorial. |
I saw a similar error saying that PyTorch was compiled with g++ whereas the extensions were going to be compiled with c++, after which the program immediately crashed. Uninstalling PyTorch and running Aemika's pip command fixed this error as well. It still shows the warning but can now proceed beyond that point without crashing. Thanks @AemikaChow |
For using base pytorch implementation, please see #103 (comment). |
Aemika's pip command fixed this error! Python 3.7 |
sudo apt install ninja-build |
I solved the problem by reinstalling Pytorch。 |
Describe the bug
When ever I run train.py with given paramters, I get the error
ImportError: No module named 'upfirdn2d_plugin'
To Reproduce
Steps to reproduce the behavior:
(c) Microsoft Corporation. All rights reserved.
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main>python train.py --outdir=C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-main\training-runs --gpus=1 --data=C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\dataset.zip --aug=noaug
Training options:
{
"num_gpus": 1,
"image_snapshot_ticks": 50,
"network_snapshot_ticks": 50,
"metrics": [
"fid50k_full"
],
"random_seed": 0,
"training_set_kwargs": {
"class_name": "training.dataset.ImageFolderDataset",
"path": "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\dataset.zip",
"use_labels": false,
"max_size": 48255,
"xflip": false,
"resolution": 128
},
"data_loader_kwargs": {
"pin_memory": true,
"num_workers": 3,
"prefetch_factor": 2
},
"G_kwargs": {
"class_name": "training.networks.Generator",
"z_dim": 512,
"w_dim": 512,
"mapping_kwargs": {
"num_layers": 2
},
"synthesis_kwargs": {
"channel_base": 16384,
"channel_max": 512,
"num_fp16_res": 4,
"conv_clamp": 256
}
},
"D_kwargs": {
"class_name": "training.networks.Discriminator",
"block_kwargs": {},
"mapping_kwargs": {},
"epilogue_kwargs": {
"mbstd_group_size": 4
},
"channel_base": 16384,
"channel_max": 512,
"num_fp16_res": 4,
"conv_clamp": 256
},
"G_opt_kwargs": {
"class_name": "torch.optim.Adam",
"lr": 0.0025,
"betas": [
0,
0.99
],
"eps": 1e-08
},
"D_opt_kwargs": {
"class_name": "torch.optim.Adam",
"lr": 0.0025,
"betas": [
0,
0.99
],
"eps": 1e-08
},
"loss_kwargs": {
"class_name": "training.loss.StyleGAN2Loss",
"r1_gamma": 0.1024
},
"total_kimg": 25000,
"batch_size": 32,
"batch_gpu": 32,
"ema_kimg": 10.0,
"ema_rampup": 0.05,
"run_dir": "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-main\training-runs\00002-dataset-auto1-noaug"
}
Output directory: C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-main\training-runs\00002-dataset-auto1-noaug
Training data: C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\dataset.zip
Training duration: 25000 kimg
Number of GPUs: 1
Number of images: 48255
Image resolution: 128
Conditional model: False
Dataset x-flips: False
Creating output directory...
Launching processes...
Loading training set...
Num images: 48255
Image shape: [3, 128, 128]
Label shape: [0]
Constructing networks...
Setting up PyTorch plugin "bias_act_plugin"... Failed!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\bias_act.py:50: UserWarning: Failed to build CUDA kernels for bias_act. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\bias_act.py", line 48, in _init
_plugin = custom_ops.get_plugin('bias_act_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1302, in _jit_compile
is_standalone=is_standalone)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1407, in _write_ninja_file_and_build_library
error_prefix=f"Error building extension '{name}'")
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'bias_act_plugin': [1/2] cl /showIncludes -DTORCH_EXTENSION_NAME=bias_act_plugin -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -c C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\bias_act.cpp /Fobias_act.o
FAILED: bias_act.o
cl /showIncludes -DTORCH_EXTENSION_NAME=bias_act_plugin -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -c C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\bias_act.cpp /Fobias_act.o
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/macros/Macros.h(189): warning C4067: unexpected tokens following preprocessor directive - expected a newline
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|='
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_listc10::DispatchKey' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(106): warning C4814: 'c10::guts::array<_Tp,_Nm>::fill': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(201): note: see reference to class template instantiation 'c10::guts::array<_Tp,_Nm>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(109): warning C4814: 'c10::guts::array<_Tp,_Nm>::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(113): warning C4814: 'c10::guts::array<_Tp,_Nm>::begin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(119): warning C4814: 'c10::guts::array<_Tp,_Nm>::end': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(125): warning C4814: 'c10::guts::array<_Tp,_Nm>::rbegin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(131): warning C4814: 'c10::guts::array<_Tp,_Nm>::rend': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(157): warning C4814: 'c10::guts::array<_Tp,_Nm>::operator []': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(169): warning C4814: 'c10::guts::array<_Tp,_Nm>::at': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(182): warning C4814: 'c10::guts::array<_Tp,_Nm>::front': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(188): warning C4814: 'c10::guts::array<_Tp,_Nm>::back': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(197): warning C4814: 'c10::guts::array<_Tp,_Nm>::data': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(680): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(630): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(639): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(644): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(656): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(662): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(674): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::ScalarType::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see reference to class template instantiation 'c10::optionalc10::ScalarType' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::ScalarType::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(467): error C2059: syntax error: 'return'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(467): error C2238: unexpected token(s) preceding ';'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(470): error C2144: syntax error: 'void' should be preceded by ';'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalcaffe2::TypeMeta::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see reference to class template instantiation 'c10::optionalcaffe2::TypeMeta' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalcaffe2::TypeMeta::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): error C2039: 'has_value': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(31): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optionalc10::ScalarType'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(31): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): error C2819: type 'c10::optionalcaffe2::TypeMeta' does not have an overloaded member 'operator ->'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): note: did you intend to use '.' instead?
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): error C2039: 'toScalarType': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::Layout::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): note: see reference to class template instantiation 'c10::optionalc10::Layout' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::Layout &c10::optionalc10::Layout::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optionalc10::Layout::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::Layout::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(33): error C2039: 'value_or': is not a member of 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::Device::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): note: see reference to class template instantiation 'c10::optionalc10::Device' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::Device &c10::optionalc10::Device::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optionalc10::Device::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::Device::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(41): error C2039: 'value_or': is not a member of 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): note: see declaration of 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(141): error C2664: 'void c10::TensorOptions::set_layout(c10::optionalc10::Layout) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(141): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(167): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(167): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(172): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(172): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::MemoryFormat::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): note: see reference to class template instantiation 'c10::optionalc10::MemoryFormat' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::MemoryFormat::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optionalc10::MemoryFormat) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(268): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(268): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(289): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(289): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(305): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(305): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(322): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(322): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(348): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(348): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(362): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(362): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(396): error C2039: 'has_value': is not a member of 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(249): note: see declaration of 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(397): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(427): error C2451: conditional expression of type 'c10::optionalc10::Device' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(427): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(428): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(437): error C2451: conditional expression of type 'c10::optionalcaffe2::TypeMeta' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(437): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(438): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(447): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(447): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(448): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(457): error C2451: conditional expression of type 'c10::optionalc10::Layout' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(457): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): error C2440: '=': cannot convert from 'c10::optionalc10::Layout' to 'c10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(467): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(467): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(477): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(477): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(487): error C2451: conditional expression of type 'c10::optionalc10::MemoryFormat' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(487): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): error C2440: '=': cannot convert from 'c10::optionalc10::MemoryFormat' to 'c10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(536): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(536): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(541): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(541): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(547): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(547): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(565): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(565): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(571): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optionalc10::MemoryFormat) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(571): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(551): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(555): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(555): error C2039: 'index': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(559): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(563): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1089): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1091): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1091): error C2039: 'type': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1337): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1337): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1348): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1348): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1408): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1408): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1453): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1453): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::TensorList::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: see reference to class template instantiation 'c10::optionalat::TensorList' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/MemoryFormat.h(56): note: see reference to class template instantiation 'c10::ArrayRef<int64_t>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::TensorList &c10::optionalat::TensorList::contained_val(void) const &': overloaded function differs only by return type from 'const at::TensorList &c10::optionalat::TensorList::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::TensorList::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::TensorList::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::TensorList::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::TensorList'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(181): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(361): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(487): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(499): note: see reference to class template instantiation 'std::is_constructible<_Ty,const c10::trivially_copyable_optimization_optional_base &>' being compiled
with
[
_Ty=c10::trivially_copyable_optimization_optional_baseat::Tensor,
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(400): note: see reference to class template instantiation 'std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>' being compiled
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(418): note: see reference to class template instantiation 'OptionalBaseat::Tensor' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(387): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::Tensor::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::Tensor &c10::optionalat::Tensor::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optionalat::Tensor::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Tensor::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::Tensor::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Tensor::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional<int64_t>::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): note: see reference to class template instantiation 'c10::optional<int64_t>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'int64_t &c10::optional<int64_t>::contained_val(void) const &': overloaded function differs only by return type from 'const int64_t &c10::optional<int64_t>::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional<int64_t>::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optional<int64_t>::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional<int64_t>::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(672): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(672): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(685): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(685): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(686): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(686): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(181): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(361): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=at::Generator
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(487): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=at::Generator
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(499): note: see reference to class template instantiation 'std::is_constructible<_Ty,const c10::trivially_copyable_optimization_optional_base &>' being compiled
with
[
_Ty=c10::trivially_copyable_optimization_optional_baseat::Generator,
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(400): note: see reference to class template instantiation 'std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>' being compiled
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(418): note: see reference to class template instantiation 'OptionalBaseat::Generator' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(387): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::Generator::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::Generator &c10::optionalat::Generator::contained_val(void) const &': overloaded function differs only by return type from 'const at::Generator &c10::optionalat::Generator::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Generator::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::Generator::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Generator::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::Generator'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(698): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::Generator'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(698): fatal error C1003: error count exceeds 100; stopping compilation
ninja: build stopped: subcommand failed.
warnings.warn('Failed to build CUDA kernels for bias_act. Falling back to slow reference implementation. Details:\n\n' + traceback.format_exc())
Setting up PyTorch plugin "upfirdn2d_plugin"... Failed!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1673, in _run_ninja_build
env=env)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1302, in _jit_compile
is_standalone=is_standalone)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1407, in _write_ninja_file_and_build_library
error_prefix=f"Error building extension '{name}'")
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'upfirdn2d_plugin': [1/2] cl /showIncludes -DTORCH_EXTENSION_NAME=upfirdn2d_plugin -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -c C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.cpp /Foupfirdn2d.o
FAILED: upfirdn2d.o
cl /showIncludes -DTORCH_EXTENSION_NAME=upfirdn2d_plugin -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Graham\AppData\Local\Programs\Python\Python37\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -c C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.cpp /Foupfirdn2d.o
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/macros/Macros.h(189): warning C4067: unexpected tokens following preprocessor directive - expected a newline
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|='
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_listc10::DispatchKey' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(106): warning C4814: 'c10::guts::array<_Tp,_Nm>::fill': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(201): note: see reference to class template instantiation 'c10::guts::array<_Tp,_Nm>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(109): warning C4814: 'c10::guts::array<_Tp,_Nm>::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(113): warning C4814: 'c10::guts::array<_Tp,_Nm>::begin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(119): warning C4814: 'c10::guts::array<_Tp,_Nm>::end': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(125): warning C4814: 'c10::guts::array<_Tp,_Nm>::rbegin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(131): warning C4814: 'c10::guts::array<_Tp,_Nm>::rend': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(157): warning C4814: 'c10::guts::array<_Tp,_Nm>::operator []': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(169): warning C4814: 'c10::guts::array<_Tp,_Nm>::at': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(182): warning C4814: 'c10::guts::array<_Tp,_Nm>::front': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(188): warning C4814: 'c10::guts::array<_Tp,_Nm>::back': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Array.h(197): warning C4814: 'c10::guts::array<_Tp,_Nm>::data': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(680): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(630): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(639): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(644): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(656): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(662): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(674): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::ScalarType::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see reference to class template instantiation 'c10::optionalc10::ScalarType' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::ScalarType::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(467): error C2059: syntax error: 'return'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(467): error C2238: unexpected token(s) preceding ';'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(470): error C2144: syntax error: 'void' should be preceded by ';'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalcaffe2::TypeMeta::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see reference to class template instantiation 'c10::optionalcaffe2::TypeMeta' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalcaffe2::TypeMeta::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): error C2039: 'has_value': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(31): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optionalc10::ScalarType'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(31): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): error C2819: type 'c10::optionalcaffe2::TypeMeta' does not have an overloaded member 'operator ->'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): note: did you intend to use '.' instead?
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(33): error C2039: 'toScalarType': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(29): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::Layout::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): note: see reference to class template instantiation 'c10::optionalc10::Layout' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::Layout &c10::optionalc10::Layout::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optionalc10::Layout::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::Layout::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(33): error C2039: 'value_or': is not a member of 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::Device::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): note: see reference to class template instantiation 'c10::optionalc10::Device' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::Device &c10::optionalc10::Device::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optionalc10::Device::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::Device::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(41): error C2039: 'value_or': is not a member of 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): note: see declaration of 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(141): error C2664: 'void c10::TensorOptions::set_layout(c10::optionalc10::Layout) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(141): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(167): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(167): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(172): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(172): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalc10::MemoryFormat::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): note: see reference to class template instantiation 'c10::optionalc10::MemoryFormat' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalc10::MemoryFormat::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optionalc10::MemoryFormat) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(268): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(268): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(289): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(289): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(305): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(305): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(322): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(322): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(348): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(348): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(362): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(362): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(396): error C2039: 'has_value': is not a member of 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(249): note: see declaration of 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(397): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(427): error C2451: conditional expression of type 'c10::optionalc10::Device' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(427): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(428): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(437): error C2451: conditional expression of type 'c10::optionalcaffe2::TypeMeta' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(437): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(438): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(447): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(447): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(448): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(457): error C2451: conditional expression of type 'c10::optionalc10::Layout' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(457): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): error C2440: '=': cannot convert from 'c10::optionalc10::Layout' to 'c10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(458): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(467): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(467): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(468): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(477): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(477): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(478): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(487): error C2451: conditional expression of type 'c10::optionalc10::MemoryFormat' is illegal
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(487): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): error C2440: '=': cannot convert from 'c10::optionalc10::MemoryFormat' to 'c10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(488): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(536): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(536): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(541): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(541): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(547): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(547): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(565): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(565): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(571): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optionalc10::MemoryFormat) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(571): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(551): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(555): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(555): error C2039: 'index': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(559): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(563): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1089): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1091): error C2100: illegal indirection
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1091): error C2039: 'type': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1337): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1337): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1348): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1348): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1408): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1408): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1453): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(468): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorImpl.h(1453): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/TensorOptions.h(22): note: see declaration of 'c10::optionalc10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::TensorList::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: see reference to class template instantiation 'c10::optionalat::TensorList' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/core/MemoryFormat.h(56): note: see reference to class template instantiation 'c10::ArrayRef<int64_t>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::TensorList &c10::optionalat::TensorList::contained_val(void) const &': overloaded function differs only by return type from 'const at::TensorList &c10::optionalat::TensorList::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::TensorList::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::TensorList::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::TensorList::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::TensorList'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(558): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(181): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(361): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(487): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(499): note: see reference to class template instantiation 'std::is_constructible<_Ty,const c10::trivially_copyable_optimization_optional_base &>' being compiled
with
[
_Ty=c10::trivially_copyable_optimization_optional_baseat::Tensor,
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(400): note: see reference to class template instantiation 'std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>' being compiled
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(418): note: see reference to class template instantiation 'OptionalBaseat::Tensor' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(631): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(387): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::Tensor::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::Tensor &c10::optionalat::Tensor::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optionalat::Tensor::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Tensor::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::Tensor::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Tensor::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional<int64_t>::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): note: see reference to class template instantiation 'c10::optional<int64_t>' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'int64_t &c10::optional<int64_t>::contained_val(void) const &': overloaded function differs only by return type from 'const int64_t &c10::optional<int64_t>::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional<int64_t>::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optional<int64_t>::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optional<int64_t>::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(671): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(672): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(672): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(685): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(685): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(686): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional<int64_t>'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(686): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(181): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(361): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=at::Generator
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(487): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=at::Generator
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(499): note: see reference to class template instantiation 'std::is_constructible<_Ty,const c10::trivially_copyable_optimization_optional_base &>' being compiled
with
[
_Ty=c10::trivially_copyable_optimization_optional_baseat::Generator,
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(400): note: see reference to class template instantiation 'std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>' being compiled
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(418): note: see reference to class template instantiation 'OptionalBaseat::Generator' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): note: see reference to class template instantiation 'c10::optionalat::Generator' being compiled
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(387): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=at::Generator
]
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optionalat::Generator::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2556: 'at::Generator &c10::optionalat::Generator::contained_val(void) const &': overloaded function differs only by return type from 'const at::Generator &c10::optionalat::Generator::contained_val(void) const &'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Generator::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(466): error C2373: 'c10::optionalat::Generator::contained_val': redefinition; different type modifiers
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\c10/util/Optional.h(460): note: see declaration of 'c10::optionalat::Generator::contained_val'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::Generator'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(697): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(698): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::Generator'
C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\ATen/core/TensorBody.h(698): fatal error C1003: error count exceeds 100; stopping compilation
ninja: build stopped: subcommand failed.
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
warnings.warn('Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:\n\n' + traceback.format_exc())
Generator Parameters Buffers Output shape Datatype
mapping.fc0 262656 - [32, 512] float32
mapping.fc1 262656 - [32, 512] float32
mapping - 512 [32, 12, 512] float32
synthesis.b4.conv1 2622465 32 [32, 512, 4, 4] float32
synthesis.b4.torgb 264195 - [32, 3, 4, 4] float32
synthesis.b4:0 8192 16 [32, 512, 4, 4] float32
synthesis.b4:1 - - [32, 512, 4, 4] float32
synthesis.b8.conv0 2622465 80 [32, 512, 8, 8] float32
synthesis.b8.conv1 2622465 80 [32, 512, 8, 8] float32
synthesis.b8.torgb 264195 - [32, 3, 8, 8] float32
synthesis.b8:0 - 16 [32, 512, 8, 8] float32
synthesis.b8:1 - - [32, 512, 8, 8] float32
synthesis.b16.conv0 2622465 272 [32, 512, 16, 16] float16
synthesis.b16.conv1 2622465 272 [32, 512, 16, 16] float16
synthesis.b16.torgb 264195 - [32, 3, 16, 16] float16
synthesis.b16:0 - 16 [32, 512, 16, 16] float16
synthesis.b16:1 - - [32, 512, 16, 16] float32
synthesis.b32.conv0 2622465 1040 [32, 512, 32, 32] float16
synthesis.b32.conv1 2622465 1040 [32, 512, 32, 32] float16
synthesis.b32.torgb 264195 - [32, 3, 32, 32] float16
synthesis.b32:0 - 16 [32, 512, 32, 32] float16
synthesis.b32:1 - - [32, 512, 32, 32] float32
synthesis.b64.conv0 1442561 4112 [32, 256, 64, 64] float16
synthesis.b64.conv1 721409 4112 [32, 256, 64, 64] float16
synthesis.b64.torgb 132099 - [32, 3, 64, 64] float16
synthesis.b64:0 - 16 [32, 256, 64, 64] float16
synthesis.b64:1 - - [32, 256, 64, 64] float32
synthesis.b128.conv0 426369 16400 [32, 128, 128, 128] float16
synthesis.b128.conv1 213249 16400 [32, 128, 128, 128] float16
synthesis.b128.torgb 66051 - [32, 3, 128, 128] float16
synthesis.b128:0 - 16 [32, 128, 128, 128] float16
synthesis.b128:1 - - [32, 128, 128, 128] float32
Total 22949277 44448 - -
Setting up PyTorch plugin "upfirdn2d_plugin"... Failed!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
warnings.warn('Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:\n\n' + traceback.format_exc())
Discriminator Parameters Buffers Output shape Datatype
b128.fromrgb 512 16 [32, 128, 128, 128] float16
b128.skip 32768 16 [32, 256, 64, 64] float16
b128.conv0 147584 16 [32, 128, 128, 128] float16
b128.conv1 295168 16 [32, 256, 64, 64] float16
b128 - 16 [32, 256, 64, 64] float16
b64.skip 131072 16 [32, 512, 32, 32] float16
b64.conv0 590080 16 [32, 256, 64, 64] float16
b64.conv1 1180160 16 [32, 512, 32, 32] float16
b64 - 16 [32, 512, 32, 32] float16
b32.skip 262144 16 [32, 512, 16, 16] float16
b32.conv0 2359808 16 [32, 512, 32, 32] float16
b32.conv1 2359808 16 [32, 512, 16, 16] float16
b32 - 16 [32, 512, 16, 16] float16
b16.skip 262144 16 [32, 512, 8, 8] float16
b16.conv0 2359808 16 [32, 512, 16, 16] float16
b16.conv1 2359808 16 [32, 512, 8, 8] float16
b16 - 16 [32, 512, 8, 8] float16
b8.skip 262144 16 [32, 512, 4, 4] float32
b8.conv0 2359808 16 [32, 512, 8, 8] float32
b8.conv1 2359808 16 [32, 512, 4, 4] float32
b8 - 16 [32, 512, 4, 4] float32
b4.mbstd - - [32, 513, 4, 4] float32
b4.conv 2364416 16 [32, 512, 4, 4] float32
b4.fc 4194816 - [32, 512] float32
b4.out 513 - [32, 1] float32
Total 23882369 352 - -
Setting up augmentation...
Distributing across 1 GPUs...
Setting up training phases...
Exporting sample images...
Setting up PyTorch plugin "upfirdn2d_plugin"... Failed!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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!
C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py:34: UserWarning: Failed to build CUDA kernels for upfirdn2d. Falling back to slow reference implementation. Details:
Traceback (most recent call last):
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\ops\upfirdn2d.py", line 32, in _init
_plugin = custom_ops.get_plugin('upfirdn2d_plugin', sources=sources, extra_cuda_cflags=['--use_fast_math'])
File "C:\Users\Graham\Desktop\ICSCapstone\stylegan2-ada-pytorch-main\torch_utils\custom_ops.py", line 110, in get_plugin
torch.utils.cpp_extension.load(name=module_name, verbose=verbose_build, sources=sources, **build_kwargs)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1091, in load
keep_intermediates=keep_intermediates)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1317, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\utils\cpp_extension.py", line 1699, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "C:\Users\Graham\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'upfirdn2d_plugin'
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"... F`
Please copy&paste text instead of screenshots for better searchability.
Expected behavior
The training does not start and this keeps going in a loop.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: