Skip to content
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

模板类 TensorContractionBlocking 的模板参数数量不正确 #67095

Open
flh0923 opened this issue May 7, 2024 · 2 comments
Open

模板类 TensorContractionBlocking 的模板参数数量不正确 #67095

flh0923 opened this issue May 7, 2024 · 2 comments
Assignees
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author TF 1.13 Issues related to TF 1.13 type:bug Bug

Comments

@flh0923
Copy link

flh0923 commented May 7, 2024

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

source

TensorFlow version

TF1.13.2

Custom code

Yes

OS platform and distribution

ubuntu18.04

Mobile device

ubuntu18.04

Python version

2.7

Bazel version

0.19.2

GCC/compiler version

7

CUDA/cuDNN version

cuda10,cudnn7

GPU model and memory

1050

Current behavior?

在编译segnetm时候出现错误

Standalone code to reproduce the issue

#set (EIGEN3_INCLUDE_DIR "/home/hjx/.cache/bazel/_bazel_hjx/f43d7462b7259647736d249f2d5ed079/external/eigen_archive")
set( LIBS 
${OpenCV_LIBS} 
${EIGEN3_LIBS}

${Pangolin_LIBRARIES}
${PCL_LIBRARIES}
${OCTOMAP_LIBRARIES}
${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so
${PROJECT_SOURCE_DIR}/../../../Thirdparty/g2o/lib/libg2o.so
${PROJECT_SOURCE_DIR}/../../../build/libmyORB_SLAM2_PointMap_SegNetM.so
/usr/lib/x86_64-linux-gnu/libglog.so
-lboost_system
${PROJECT_SOURCE_DIR}/../../../Examples/myROS/myORB_SLAM2_PointMap_SegNetM/libsegmentation/build/libmysegmentation.so
)

add_definitions( ${PCL_DEFINITIONS} )
link_directories( ${PCL_LIBRARY_DIRS} )

rosbuild_add_executable(myTUM
myros_tum_realtime.cc
)

target_link_libraries(myTUM
${LIBS}
)

Relevant log output

/home/flh/tensorflow-1.13.2/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:162:38: error: ‘void Eigen::internal::operator()(Eigen::QInt16*, const DataMapper&, Index, Index, Index, Index)’ must be a nonstatic member function
            Index stride, Index offset) {
                                      ^
/home/flh/tensorflow-1.13.2/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:549:24: error: wrong number of template arguments (5, should be at least 3)
     Index, ShardingType> {
                        ^

home/flh/tensorflow-1.13.2/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h:49:76: error: wrong number of template arguments (5, should be at least 3)
 class TensorContractionBlocking<QInt16, QInt16, QInt16, Index, ShardingType> {
                                                                            ^
In file included from /usr/include/eigen3/unsupported/Eigen/CXX11/Tensor:112:0,
@google-ml-butler google-ml-butler bot added the type:bug Bug label May 7, 2024
@SuryanarayanaY SuryanarayanaY added the TF 1.13 Issues related to TF 1.13 label May 8, 2024
@SuryanarayanaY
Copy link
Collaborator

Hi @flh0923 ,

I am sorry to say that TF1.x versions are not supported now. Please upgrade to latest TF versions.

@SuryanarayanaY SuryanarayanaY added the stat:awaiting response Status - Awaiting response from author label May 8, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale This label marks the issue/pr stale - to be closed automatically if no activity label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author TF 1.13 Issues related to TF 1.13 type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants