Giter VIP home page Giter VIP logo

Comments (4)

Prehani avatar Prehani commented on August 28, 2024

Additionally, I am looking at the logs and I'm having a bit of a trouble trying to get an understanding for progress based on on the values at each section. The inequality for the optimization problem makes sense, but is there any built in indication of progress?

from btrack.

Prehani avatar Prehani commented on August 28, 2024

For anybody who is having slow performance issues, I realized that my issue was due to incorrect array formatting:
I was passing in data in the form (x, y, z) (ex. 512,512,50) rather than (z, x, y) (50,512,512).
This ended up being up to how I went from a list of images as 2D numpy arrays to a 3D numpy array:

  • np.dstack(masks) creates an array of the shape (512,512,50)
  • np.array(masks) creates an array of the shape (50, 512, 512)

Small mistake, but stumped me for a little bit and created excessively long run times. Still curious about the CUDA implementation though!

from btrack.

quantumjot avatar quantumjot commented on August 28, 2024

Hi @Prehani - sorry it took a while to get back to you, and it seems like you solved the problem! Hope the results are good.

Re: the CUDA implementation, I made a start on this but never got round to finishing it. Parallelizing the bayesian update code is quite tricky.

https://github.com/quantumjot/BayesianTracker/blob/ac397675a425bf4abe6d9c09fd65f80072bf4950/btrack/src/belief.cu#L67-L75

from btrack.

Prehani avatar Prehani commented on August 28, 2024

No worries--preliminary testing appears to be very promising! We sent over some UI suggestions to the Napari team for tracks and a few other things, but so far BTrack has been working flawlessly after that small mix up on my end.

Out of curiosity, do you have any recommended segmentation packages for timeseries data? We've had decent luck with Cellpose, but it seems that there could be potential for a temporally aware algorithm using a similar tracking mechanism to generate an updated mask on a frame by frame basis rather than segmenting each image individually.

Re Cuda: totally understandable, I know it can be an absolute nightmare to work with. It seems for now our timeseries data is fine running solely on the CPU end of thing.

Thanks again for all the work you've done on this!

from btrack.

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.