Giter Club home page Giter Club logo

s2hand's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

s2hand's Issues

training issues

Hello, do you have any of the following problems during the error feedback during your training?
IndexError: index 579523806 is out of bounds for dimension 0 with size 7780

detect.json file?

Hi,
Excuse me. You use detect.json and detect_all.json in training, are these files created by examples/openpose_detector/hand_detect.py?

2D detection output is not aligned to image

Thank you for sharing your code.

I have the issue that projected 2D detection output is not aligned to image when running the testing code without modifying anything.

How can i solve this problem?

Thank you.

image
image

Did the 'Camera Intrinsic Parameter' predicted from networks?

Hi,
I have a question about the 'Camera Intrinsic Parameter' Ks.
image
In your paper, I think the Camera Intrinsic Parameters were predicted from networks.
And I also found clues in line 210 'https://github.com/TerenceCYJ/S2HAND/blob/main/examples/utils/freihandnet.py'
image

But when it comes to the loss function. I find you used Camera Intrinsic Parameters 'Ks' from the dataset to project 3D coordinates into 2D.
in line 48 'https://github.com/TerenceCYJ/S2HAND/blob/main/examples/train.py'
image

I was confused about the projection function. Why would you use the 'Ks' from the dataset? What is the relationship between those two operations?

Best!

something wrong with the concatdataloader for the newer torch

Hi! I'm going to run the code on the ubuntu with a 3090Ti,so it's necessary that I should use the pytorch>=1.7.
but here is something wrong with the concatdataloader:

Traceback (most recent call last):
File "./examples/train.py", line 306, in
main(
File "./examples/train.py", line 268, in main
TrainVal(mode_train, dat_name_val, current_epoch, val_loader, model, None, requires, args, writer)
File "./examples/train.py", line 36, in TrainVal
for idx, (sample) in enumerate(train_loader):
File "/home/user/Desktop/human_hand/S2HAND/examples/data/datautils.py", line 19, in next
if isinstance(loader.dataset, Subset):
AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'dataset'
Exception in thread Thread-1:

Is there anyone can tell me how to change this code?thx

pytorch1.1 cuda10.0 while building neural renders,I met warning #1388-D: base class dllexport/dllimport specification differs from that of the derived class

when I use pytorch1.1.0,build neural renders, by vs2017, it appear the pytorch's version is uncompatible with cl because i met many warnings.Though I build
it successfully,it can't work when I train S2HAND.It just waiting a long time
I also try to run "example1.py",I tracked the operation and found that there was no response after entering the function of load_obj
After running this code, the graphics card does not work properly, and the occupation is still 0%,my graphic card is 3080,does that means I have to degrade my version?
Hope some one could help me!

vertices = torch.from_numpy(np.vstack(vertices).astype(np.float32)).cuda()

def load_obj(filename_obj, normalization=True, texture_size=4, load_texture=False,
             texture_wrapping='REPEAT', use_bilinear=True):
  

    # load vertices
    vertices = []
    with open(filename_obj) as f:
        lines = f.readlines()

    for line in lines:
        if len(line.split()) == 0:
            continue
        if line.split()[0] == 'v':
            vertices.append([float(v) for v in line.split()[1:4]])
    vertices = torch.from_numpy(np.vstack(vertices).astype(np.float32)).cuda()

building process:

copying neural_renderer\cuda\__init__.py -> build\lib.win-amd64-cpython-37\neural_renderer\cuda
running build_ext
building 'neural_renderer.cuda.load_textures' extension
creating build\temp.win-amd64-cpython-37
creating build\temp.win-amd64-cpython-37\Release
creating build\temp.win-amd64-cpython-37\Release\neural_renderer
creating build\temp.win-amd64-cpython-37\Release\neural_renderer\cuda
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\TH -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpneural_renderer/cuda/load_textures_cuda.cpp /Fobuild\temp.win-amd64-cpython-37\Release\neural_renderer/cuda/load_textures_cuda.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 /MD
load_textures_cuda.cpp
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(27): warning C4275: 非 dll 接口 class“std::exception”用作 dll 接口 class“c10::Error”的基
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime_exception.h(44): note: 参见“std::exception”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(27): note: 参见“c10::Error”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(28): warning C4251: “c10::Error::msg_stack_”: class“std::vector<std::string,std::allocator<_Ty>>”需要有 dll 接口由 class“c10::Error”的客户端使用
        with
        [
            _Ty=std::string
        ]
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(28): note: 参见“std::vector<std::string,std::allocator<_Ty>>”的声明
        with
        [
            _Ty=std::string
        ]
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(29): warning C4251: “c10::Error::backtrace_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: 参 见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(34): warning C4251: “c10::Error::msg_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: 参 见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/Exception.h(35): warning C4251: “c10::Error::msg_without_backtrace_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: 参 见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/core/Allocator.h(21): warning C4251: “c10::DataPtr::ptr_”: class“c10::detail::UniqueVoidPtr”需要有 dll 接口由 class“c10::DataPtr”的客户端使用
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/util/UniqueVoidPtr.h(38): note: 参 见“c10::detail::UniqueVoidPtr”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/core/Allocator.h(183): warning C4251: “c10::InefficientStdFunctionContext::ptr_”: class“std::unique_ptr<void,std::function<void (void *)>>”需要有 dll 接口 由 struct“c10::InefficientStdFunctionContext”的客户端使用
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/core/Allocator.h(183): note: 参见“std::unique_ptr<void,std::function<void (void *)>>”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/core/TensorTypeIdRegistration.h(32): warning C4251: “c10::TensorTypeIdCreator::last_id_”: struct“std::atomic<unsigned char>”需要有 dll 接口由 class“c10::TensorTypeIdCreator”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: 参 见“std::atomic<unsigned char>”的声明
D:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\c10/core/TensorTypeIdRegistration.h(45): warning C4251: “c10::TensorTypeIdRegistry::registeredTypeIds_”: class“std::unordered_set<c10::TensorTypeId,std::hash<c10::TensorTypeId>,std::equal_to<_Kty>,std::allocator<_Kty>>”需要有 dll 接口由 class“c10::TensorTypeIdRegistry”的客户端使用
        with
        [
            _Kty=c10::TensorTypeId
        ]
.....
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc" -c neural_renderer/cuda/load_textures_cuda_kernel.cu -o build\temp.win-amd64-cpython-37\Release\neural_renderer/cuda/load_textures_cuda_kernel.obj -Xcompiler /wd4819 -Xcompiler /MD -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\TH -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\include -ID:\Learn\anaconda3\envs\pytorch1_1py3_7\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0
load_textures_cuda_kernel.cu
D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(27): warning #1388-D: base class dllexport/dllimport specification differs from that of the derived class

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(28): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(29): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(34): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(35): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Allocator.h(21): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Allocator.h(183): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(32): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(45): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(46): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(456): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeMeta::_typeMetaDataInstance [with T=caffe2::detail::_Uninitialized]"
(452): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(577): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint8_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(578): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int8_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(579): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int16_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(580): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(581): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int64_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(582): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(583): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(584): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=double]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(585): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::ComplexHalf]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(586): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex<float>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(587): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex<double>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(590): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::string]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(591): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(592): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint16_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(593): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(594): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::mutex, std::default_delete<std::mutex>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(595): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::atomic<__nv_bool>, std::default_delete<std::atomic<__nv_bool>>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(596): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int32_t, std::allocator<int32_t>>]"(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(597): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int64_t, std::allocator<int64_t>>]"(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(598): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<unsigned long, std::allocator<unsigned long>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(599): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(600): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(601): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(621): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=long]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(622): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<long, std::allocator<long>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(626): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint8]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(628): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::_CaffeHighestPreallocatedTypeId]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(58): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(59): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Storage.h(181): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/logging_is_not_google_glog.h(47): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(193): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1466): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1476): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1477): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1499): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/core/Tensor.h(773): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/core/Tensor.h(801): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(151): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(152): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(153): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(157): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(158): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(159): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/TensorGeometry.h(57): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(27): warning #1388-D: base class dllexport/dllimport specification differs from that of the derived class

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(28): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(29): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(34): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/Exception.h(35): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Allocator.h(21): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Allocator.h(183): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(32): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(45): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(46): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(456): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeMeta::_typeMetaDataInstance [with T=caffe2::detail::_Uninitialized]"
(452): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(577): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint8_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(578): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int8_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(579): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int16_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(580): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(581): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int64_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(582): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(583): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(584): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=double]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(585): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::ComplexHalf]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(586): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex<float>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(587): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex<double>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(590): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::string]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(591): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=bool]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(592): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint16_t]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(593): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(594): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::mutex, std::default_delete<std::mutex>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(595): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr<std::atomic<bool>, std::default_delete<std::atomic<bool>>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(596): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int32_t, std::allocator<int32_t>>]"(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(597): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<int64_t, std::allocator<int64_t>>]"(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(598): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<unsigned long, std::allocator<unsigned long>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(599): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=bool *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(600): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(601): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int *]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(621): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=long]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(622): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector<long, std::allocator<long>>]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(626): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint8]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/typeid.h(628): warning #1390-D: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::_CaffeHighestPreallocatedTypeId]"
(81): here; dllexport assumed

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(58): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(59): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/Storage.h(181): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/util/logging_is_not_google_glog.h(47): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(193): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1466): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1476): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1477): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\c10/core/TensorImpl.h(1499): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/core/Tensor.h(773): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/core/Tensor.h(801): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(151): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(152): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(153): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(157): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(158): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/Context.h(159): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface

D:/Learn/anaconda3/envs/pytorch1_1py3_7/lib/site-packages/torch/include\ATen/TensorGeometry.h(57): warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface
......
正在生成代码
已完成代码的生成
creating build\bdist.win-amd64
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\neural_renderer
creating build\bdist.win-amd64\egg\neural_renderer\cuda
copying build\lib.win-amd64-cpython-37\neural_renderer\cuda\create_texture_image.cp37-win_amd64.pyd -> build\bdist.win-amd64\egg\neural_renderer\cuda
copying build\lib.win-amd64-cpython-37\neural_renderer\cuda\load_textures.cp37-win_amd64.pyd -> build\bdist.win-amd64\egg\neural_renderer\cuda
copying build\lib.win-amd64-cpython-37\neural_renderer\cuda\rasterize.cp37-win_amd64.pyd -> build\bdist.win-amd64\egg\neural_renderer\cuda
copying build\lib.win-amd64-cpython-37\neural_renderer\cuda\__init__.py -> build\bdist.win-amd64\egg\neural_renderer\cuda
copying build\lib.win-amd64-cpython-37\neural_renderer\get_points_from_angles.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\lighting.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\load_obj.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\look.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\look_at.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\mesh.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\perspective.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\projection.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\rasterize.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\renderer.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\save_obj.py -> build\bdist.win-amd64\egg\neural_renderer
copying build\lib.win-amd64-cpython-37\neural_renderer\vertices_to_faces.py -> build\bdist.win-amd64\egg\neural_renderercopying build\lib.win-amd64-cpython-37\neural_renderer\__init__.py -> build\bdist.win-amd64\egg\neural_renderer
byte-compiling build\bdist.win-amd64\egg\neural_renderer\cuda\__init__.py to __init__.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\get_points_from_angles.py to get_points_from_angles.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\lighting.py to lighting.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\load_obj.py to load_obj.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\look.py to look.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\look_at.py to look_at.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\mesh.py to mesh.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\perspective.py to perspective.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\projection.py to projection.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\rasterize.py to rasterize.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\renderer.py to renderer.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\save_obj.py to save_obj.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\vertices_to_faces.py to vertices_to_faces.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\__init__.py to __init__.cpython-37.pyc
creating stub loader for neural_renderer\cuda\load_textures.cp37-win_amd64.pyd
creating stub loader for neural_renderer\cuda\rasterize.cp37-win_amd64.pyd
creating stub loader for neural_renderer\cuda\create_texture_image.cp37-win_amd64.pyd
byte-compiling build\bdist.win-amd64\egg\neural_renderer\cuda\load_textures.py to load_textures.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\cuda\rasterize.py to rasterize.cpython-37.pyc
byte-compiling build\bdist.win-amd64\egg\neural_renderer\cuda\create_texture_image.py to create_texture_image.cpython-37.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying neural_renderer_pytorch.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying neural_renderer_pytorch.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying neural_renderer_pytorch.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying neural_renderer_pytorch.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
zip_safe flag not set; analyzing archive contents...
neural_renderer.cuda.__pycache__.create_texture_image.cpython-37: module references __file__
neural_renderer.cuda.__pycache__.load_textures.cpython-37: module references __file__
neural_renderer.cuda.__pycache__.rasterize.cpython-37: module references __file__
creating 'dist\neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg
removing 'd:\learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg' (and everything under it)
creating d:\learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg
Extracting neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg to d:\learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages
neural-renderer-pytorch 1.1.3 is already the active version in easy-install.pth

Installed d:\learn\anaconda3\envs\pytorch1_1py3_7\lib\site-packages\neural_renderer_pytorch-1.1.3-py3.7-win-amd64.egg
Processing dependencies for neural-renderer-pytorch==1.1.3
Finished processing dependencies for neural-renderer-pytorch==1.1.3


env:
python3.7,
torch 1.1.0
torchvision 0.3.0
cuda10.0

FreiHAND pretrained model

Hi,
Thank you for sharing your interesting work!

I have tried to reproduce the evaluation process on FreiHAND dataset using the pretrained model (texturehand_freihand.t7).

The output hand models seem to be estimated by the model trained using "Average Pose Prior" rather than your pose prior proposed in the supplementary material, as shown below.

  • Example of the output image (0000_0000029.png)
    0000_0000029

  • Images in the supplementary materials

image from supplimentary material

Is it possible to specify your proposed pose prior as the skeleton regularization when running the evaluation process?
If not, could you please share the model trained with your proposed pose prior?

Some training error, I couldn't reproduce the result.

Dear author,
Your ideas in this paper are very interesting. I meet some training error when running your released code. This image shows visualization result when epoch 15. Although 2d keypoint prediction is correct, the render result isn't correct.
image

Here is log,
image

thank you

Implementation Appendix

In the 4.2 Implementation, There is a sentence "We provide more details in the Appendix". But I can't find any Appendix in this paper. Would you please provide the appendix? I would appreciate it so much.

How do you get the measurement results?

Thanks for your work.
Could you please show me how you get the values on the paper? I can not find where you use the get_measures() function in your code.

The Projected 2D Joints seems collaps ?

Hi, Thank you for sharing this work.

I try to reproduce the training process on FreiHAND dataset. So, I cloned the original code in this repo.

Only changed:
1、the 'model = nn.DataParallel(model.cuda())' in 'train.py' into 'model = model.cuda()', since return a dict with nn.DataParallel returns error.
2、"train_batch":32, into "train_batch":32, in 'SSL-e2e.json'

But, I find the 'Projected 2D Joints 𝑱𝒑𝒓' is collapsing into a point. As the figure2.1 show in the picture below.
0002_0001700

Is there anything else I need to pay attention to?

Unable to reproduce the results and pretrained model loading failure

Hi Yujin,

Thank you so much for sharing the codes and also nice work on the CVPR paper! The idea really interests me a lot, but currently I come across troubles during reproducing the results, either evaluating the pretrained model or training from the start.

I'm using Pytorch1.7.1 on CUDA 10.2 for running the codes. Therefore, the major changes I made is revising the non-static forward/backward methods in laplacianloss.py to static methods, since the non-static methods for autograd is deprecated after Pytorch1.5. And changes are shown in the pull request.

The issues I have are described in the timeline of several attempts:

  1. Tried to directly evaluate the pretrained model, but got loading failure of module "renderer_NR". Seems that the module name of the neural renderer that is used in the open source codes("renderer_NR") is inconsistent with the one in 'load_model'/'save_model' function("renderer"), so that the pretrained NR module cannot be loaded saved in the current version. So I revised the module name in 'load model'/'save_model' for future loading and saving.

  2. Tried to used the pretrained model(without the NR module that is unable to load) to do the finetune training with parameters you've given in the paper (initial lr=0.00025, *0.5 every 30 epochs and all the hyper-parameters unchanged), but got rendered silhouette growing dramatically, as shown above and then collapsing to a point after only 3-4 epochs.
    image

  3. Tried to finetune the pretrained model with decreased the texture training hyper-parameter (lambda_texture 0.005-> 0.003, lambda_tex_reg 0.01-> 0.005) and without revised laplacian loss, and then got a more reasonable result with quantitative results shown below but this still didn't reach the presented results in paper.
    0000000
    0000100
    image

  4. Tried to finetune along with the revised laplacian loss, got much worse results than 3.
    0000000
    0000100

  5. Tried to train without pretrained model with stage-wise training. First, train 3D reconstruction network only with initial lr=0.001(*0.5 every 30 epochs) for 90 epochs:
    0000000
    0000100
    Then train only the neural renderer and encoder for using lr = 0.001 for 30 epochs:
    0000000
    0000100
    But then after 60 epochs finetune, there exists joint output but there are no rendered images shown :
    0000000
    0000100

Did I make some mistakes or have some misunderstanding on the paper? I would really appreciate it if you can help me out here by giving some insights.

python setup.py install error in win10

load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_calloc
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_calloc
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_strdup
OLDNAMES.lib(strdup.obi) : error LNK2001: 无法解析的外部符号 __imp_strdup
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_terminate
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_strncmp
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp_free
load_textures_cuda.obj : error LNK2001: 无法解析的外部符号 __imp__invalid_parameter_noinfo_noreturn
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__invalid_parameter_noinfo_noreturn
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_wcslen
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 strlen
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 labs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 llabs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 fabs
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fminf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmaxf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_exp2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_expm1f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log1pf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_acoshf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_asinhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atanhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ldexp
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_logbf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ilogbf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_scalblnf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_frexp
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_roundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lroundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_llroundf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_rintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lrintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_llrintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_nearbyintf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_truncf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fdimf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_cbrtf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 pow
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_remainderf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_remquof
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_erff
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_erfcf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_lgammaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tgammaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_copysignf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_nextafterf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmaf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_acosf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_asinf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atanf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_atan2f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_cosf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sinf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tanf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_coshf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sinhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_tanhf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_expf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_logf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_log10f
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_modff
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_powf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_sqrtf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_ceilf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_floorf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp_fmodf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__dsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__ldsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__fdsign
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp__hypotf
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp___acrt_iob_func
load_textures_cuda_kernel.obj : error LNK2001: 无法解析的外部符号 __imp___stdio_common_vfprintf
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_CloseHandle
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_EnterCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_LeaveCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_InitializeCriticalSectionAndSpinCount
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_DeleteCriticalSection
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_SetEvent
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_ResetEvent
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_WaitForSingleObjectEx
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_CreateEventW
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleHandleW
MSVCRT.lib(utility_desktop.obj) : error LNK2001: 无法解析的外部符号 __imp_GetModuleHandleW
MSVCRT.lib(thread_safe_statics.obj) : error LNK2001: 无法解析的外部符号 __imp_GetProcAddress
MSVCRT.lib(tncleanup.obj) : error LNK2001: 无法解析的外部符号 __imp_InitializeSListHead
MSVCRT.lib(new_scalar.obj) : error LNK2001: 无法解析的外部符号 _callnewh
MSVCRT.lib(new_scalar.obj) : error LNK2001: 无法解析的外部符号 malloc
MSVCRT.lib(ehvecdtr.obj) : error LNK2001: 无法解析的外部符号 terminate
MSVCRT.lib(utility_desktop.obj) : error LNK2001: 无法解析的外部符号 terminate
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _seh_filter_dll
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _configure_narrow_argv
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _initialize_narrow_environment
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _initialize_onexit_table
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _register_onexit_function
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _execute_onexit_table
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _crt_atexit
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _crt_at_quick_exit
MSVCRT.lib(utility.obj) : error LNK2001: 无法解析的外部符号 _cexit
MSVCRT.lib(dll_dllmain.obj) : error LNK2001: 无法解析的外部符号 _initterm
MSVCRT.lib(dll_dllmain.obj) : error LNK2001: 无法解析的外部符号 _initterm_e
MSVCRT.lib(gs_support.obj) : error LNK2001: 无法解析的外部符号 __imp_GetCurrentThreadId
MSVCRT.lib(gs_support.obj) : error LNK2001: 无法解析的外部符号 __imp_GetSystemTimeAsFileTime
MSVCRT.lib(dll_dllmain_stub.obj) : error LNK2001: 无法解析的外部符号 __imp_DisableThreadLibraryCalls
OLDNAMES.lib(strdup.obi) : error LNK2001: 无法解析的外部符号 __imp__strdup
build\lib.win-amd64-3.6\neural_renderer\cuda\load_textures.cp36-win_amd64.pyd : fatal error LNK1120: 113 个无法解析的外部命令
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe' failed with exit status 1120

detect.json and detect_all.json

Hi,
Excuse me. You use detect.json and detect_all.json in training,
can you show me how to modify the hand_detect.py to produce the detect.json, thanks.
I means that i can't find where the input and output directory i can modify.
螢幕擷取畫面 2022-03-09 044642

GT 3D joints of test set

Hi, Sir.
I note AUC and MPJPE of joints in your paper, however, I did not find GT 2D and 3D joints annotations in FreiHAND and HO3D evaluation set. How to get these data?

Rotation representation

Hi,

Thank you for presenting this intereting work!

I notice the output of your model is in axis-angle representation. I wonder how did you convert them to Azimuth, Pitch, and Roll and impose the feasible range loss?

Question about GT and training parameters

Hello Yujin,

Thank you for sharing the great work!

I'm confused about the generation of pseudo masks in ground truth and training.

  1. From this issue, some masks of samples in GT are not quite accurate and even complete black. How do you separate them, and why the results of some segmented GT are unacceptable?
  2. I noticed that in your code, you used textures whose shape were like (faces.shape[0], faces.shape[1], texture_size, texture_size, texture_size, 3). What's the mean of three 'texture_size'? And will a bigger texture_size induces better rendered RGB images?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.