HN user

briggers

363 karma

paul@paulbridger.com

Posts14
Comments64
View on HN

I used to love doing this with Clojure, it’s an awesome way to increase productivity by a good chunk.

It’s less about saving the time to re-run something, and more about removing conceptual overhead (I think).

Great point - dependencies between frames are inherently problematic for many of these techniques.

Everything lostdog says. I've had experience speeding up tracking immensely using the same big hammer I talk about in the article - moving the larger parts of tracking compute to GPU.

Also, in a tracking pipeline you'll generally have the big compute on pixels done up front. Object detection and ReID take the bulk of the compute and can be easily batched and run in parallel. The results (metadata) can then be fed into a more serial process (but still doing the N<->N ReID comparisons on GPU).

Author here. As other commenters are saying, the Pytorch JIT and torchscript might be your friend here.

Alternatively, there are some quite fast OSS libraries for object detection. Nvidia's retinanet will export to a TensorRT engine which can be used with DeepStream.

Author here. I really appreciate your feedback.

Completely agree that almost none of the SoTA github repos are really ready for production and making this stuff work can be pretty hard.

Getting this done on C++ and moving up to the next level of performance is the focus of my next article :)

It’s important to note this is just within visual range dogfighting/BFM. Also just guns, and also perfect enemy state information. Important progress but it’s super early. Beyond visual range/BVR, coordination with wingmen and many other higher-level tasks still to come (or are still secret).

I think I understand your point about declaring and then later using your layers.

Are you aware of the Sequential module? It allows you to chain together layers into a single variable, making this repetition disappear into a single forward/__call__ on the Sequential.

I see from the MTCNN code that this repo (like all others I've seen) is still bouncing tensors between GPU and CPU while passing between the P/R/ONets.

So many ML repos make this mistake in pre/post-processing and end up bottlenecked on CPU.

Anyone know of an MTCNN that's been ported to run more or less fully on GPU? (Or even that does batching instead of an image-by-image approach?)

In the spirit of balanced anecdata, I've flown to the US about 10 times in the last 2-3 years on business and pleasure. Multiple airports and it has always been efficient and friendly.

Pretty interesting. This is what I've been doing for the last 12 months throughout Europe, but with a new location every 1-2 months.

At first the organisational details were the frustrating part, but after almost 12 months and 8 cities the lack of longer term friendships is more of a problem.

In regards to "the headaches of looking after 100 people", surely that's something that can be addressed by limiting the scope of services provided? I think handling 1) accommodation and 2) work would be more than sufficient for most responsible people.

I've been moving around with a single carry-on suitcase for a year now. It seemed like a challenge at first, but turned out to be very easy, with a few restrictions. Sure, I can't take up kite-surfing unless I'm willing to rent gear but i can live with that. Living simply is very relaxing.

Great resource, thanks.

I've spent the last year staying mostly in EU capitals for a month or two, and this site will be a good source of inspiration for the future!

I'm sure the numbers will improve over time with more data. :)

One of my unaddressed desires is to spend more time in small towns and less in bigger cities, but I don't know a good way to find them.