Giter Site home page Giter Site logo

Comments (8)

yuanzexi avatar yuanzexi commented on April 28, 2024
  1. For you first problem, the inputs you used to build engine should be the same as the inputs of your frozen models. I found that you used (x1: 10, x2: 3) as the inputs of the frozen models, but [1, 768] as the inputs to build engine. They are not matched such that Creating input desc is failed.
  2. The problem about invalid pointer might be related to conflicts with TensorRT libraries on BERT-related plugins registry. We'll try to reproduce it to figure out.

from forward.

favorxin avatar favorxin commented on April 28, 2024

Thanks for answering~

  1. For the first problem, I check the input and solved the input problem. But another problem (已放弃(吐核)) can not solve, I load the pb model to build the engine and the problem appeared.

image
image

from forward.

yuanzexi avatar yuanzexi commented on April 28, 2024

@favorxin Did you try to pull the latest master branch to rebuild? Because we had fixed a Plugin Registry problem based on your previous 'unit_test' screenshot, you could pull the latest master branch and rebuild it again.

from forward.

favorxin avatar favorxin commented on April 28, 2024

Sorry for replaying later. I tried again yesterday and pulled the latest master branch. I have a question that the tensorflow==1.15.0 is tensorflow-gpu? But my cuda=11.0, it too higher for tensorflow=1.15.0. It got libcudnn.so.7 not found and core dumped wrong again.

image

from forward.

yuanzexi avatar yuanzexi commented on April 28, 2024

@favorxin Maybe you could try to config your ENV variable. Some references are below:

export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib/:/usr/lib64/:/usr/local/cuda/lib64/:/usr/local/nvidia/lib64:/usr/local/cuda/extras/CUPTI/lib64/:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/lib:/usr/lib64/:/usr/local/cuda/lib64/:$LIBRARY_PATH
export CPLUS_INCLUDE_PATH=/usr/local/cuda/include/:$CPLUS_INCLUDE_PATH

from forward.

favorxin avatar favorxin commented on April 28, 2024

Here is my keras model.
densenet_num18_all_model.zip

My cmake code is as following:
cmake .. -DTensorRT_ROOT=/data/software/tensorRT/TensorRT-7.0.0.11 \ -DENABLE_LOGGING=OFF \ -DENABLE _PROFILING=OFF \ -DENABLE_DYNAMIC_BATCH=ON \ -DBUILD_PYTHON_LIB=ON \ -DPYTHON_EXECUTABLE=/data/anaconda3/bin/python \ -DENABLE_TORCH=OFF \ -DENABLE_TENSORFLOW=OFF \ -DENABLE_KERAS=ON \ -DCMAKE_PREFIX_PATH=/data/software/hdf5-1.12.0
And this log is cmake log.
image

The make -j is successfully.

Environment

TensorRT Version: 7.0.0.6
NVIDIA GPU: K40S
NVIDIA Driver Version: 450.80.02
CUDA Version: 10.0
CUDNN Version: 7.6.5
Operating System: 7.5
Python Version (if applicable): 3.6.13
Tensorflow Version (if applicable): tensorflow==1.15.0(cpu)
PyTorch Version (if applicable): 1.7.1

from forward.

github-actions avatar github-actions commented on April 28, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

from forward.

github-actions avatar github-actions commented on April 28, 2024

This issue was closed because it has been stalled for 5 days with no activity.

from forward.

Related Issues (20)

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.