Code Monkey home page Code Monkey logo

Comments (3)

kujason avatar kujason commented on August 16, 2024 2

BEV generation normally takes 12-18 ms, so this seems like an issue with your CPU. For faster anchor filtering with integral images, the voxel size can also be increased, but only for the voxel grid used for filtering. Ideally, these preprocessing operations could be moved onto the GPU to run faster, and pull requests are welcome. We have also noticed that Tensorflow will be much slower for the first 3-5 samples inferenced, so timing should take place after several samples have been inferenced already. GPU inference time should not take that long if you are using one of the latest GPU models.

from avod.

yzhou-saic avatar yzhou-saic commented on August 16, 2024

It might relate to my numpy configuration:

In [8]: numpy.show_config()
lapack_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
define_macros = [('HAVE_CBLAS', None)]
language = c
blas_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
define_macros = [('HAVE_CBLAS', None)]
language = c
openblas_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
define_macros = [('HAVE_CBLAS', None)]
language = c
blis_info:
NOT AVAILABLE
openblas_lapack_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
define_macros = [('HAVE_CBLAS', None)]
language = c
lapack_mkl_info:
NOT AVAILABLE
blas_mkl_info:
NOT AVAILABLE

Could you help print this info on your machine ? It would help a lot.

from avod.

yzhou-saic avatar yzhou-saic commented on August 16, 2024

It is rather clear now: the preprocessing time takes roughly 0.1s
create_bev_map: 0.02s
the np.dstack: 0..02s
fill empty anchor: 0.06s:

np.stack could be optimized, when you report 0.02s, do you mean fill empty anchor is throw away ?

from avod.

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.