instant-ngp icon indicating copy to clipboard operation
instant-ngp copied to clipboard

What ' s the problem?

Open vermouth599 opened this issue 2 years ago • 0 comments

C:\Users\vermouth599\instant-ngp\src\testbed_volume.cu(209): error : no instance of overloaded function "tcnn::Trainer< T, PARAMS_T, COMPUTE_T>::training_step [with T=float, PARAMS_T=ngp::precision_t, COMPUTE_T=ngp::precision_t]" matches t he argument list [C:\Users\vermouth599\instant-ngp\build\ngp.vcxproj] argument types are: (cudaStream_t, tcnn::GPUMatrix<float, tcnn::MatrixLayout::ColumnMajor>, tcnn::GPUMatr ix<float, tcnn::MatrixLayout::ColumnMajor>, float *) object type is: tcnn::Trainer<float, ngp::precision_t, ngp::precision_t> C:\Users\vermouth599\instant-ngp\include\neural-graphics-primitives/trainable_buffer.cuh(40): error : member function d eclared with "override" does not override a base class member [C:\Users\vermouth599\instant-ngp\build\ngp.vcxproj] detected during instantiation of class "ngp::TrainableBuffer<N_DIMS, RANK, T> [with N_DIMS=4U, RANK=2U, T=f loat]" C:\Users\vermouth599\instant-ngp\src\testbed_volume.cu(439): here

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(1893): error : object of abstract class type "ngp::TrainableBuffer<2U, 2U, float>" is not allowed: [C:\Users\vermouth599\instant-ngp\b uild\ngp.vcxproj] pure virtual function "tcnn::DifferentiableObject<T, PARAMS_T, COMPUTE_T>::inference_mixed_precision_impl [with T=float, PARAMS_T=float, COMPUTE_T=float]" has no overrider pure virtual function "tcnn::DifferentiableObject<T, PARAMS_T, COMPUTE_T>::forward_impl [with T=float, PA RAMS_T=float, COMPUTE_T=float]" has no overrider pure virtual function "tcnn::DifferentiableObject<T, PARAMS_T, COMPUTE_T>::backward_impl [with T=float, P ARAMS_T=float, COMPUTE_T=float]" has no overrider detected during: instantiation of class "std::_Wrap<_Ty> [with _Ty=ngp::TrainableBuffer<2U, 2U, float>]" C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\memory(2027): here instantiation of class "std::_Ref_count_obj2<_Ty> [with _Ty=ngp::TrainableBuffer<2U, 2U, float>]" C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\memory(2726): here instantiation of "std::shared_ptr<_Ty> std::make_shared<_Ty,_Types...>(_Types &&...) [with _Ty=ngp::Train ableBuffer<2U, 2U, float>, _Types=<Eigen::Vector2i &>]" C:\Users\vermouth599\instant-ngp\src\testbed.cu(1736): here

vermouth599 avatar Sep 08 '22 10:09 vermouth599