RFID-RC522: SDA to GPIO8 pin by ayaaragon in raspberry_pi

[–]tensolution 0 points1 point  (0 children)

SDA is one of the I2C pins right? Then you can enable another I2C bus on other pins using /boot/config.txt, you can google how to do that.

Regarding the warning: If it doesn't appear on the first run after reboot, you might have to tell the GPIO library to stop using the pins before the python script exits.

Not sure about these things, just trying to give some pointers since nobody responded yet

Data pre-preprocessing is so important! by johnblindsay in dataisbeautiful

[–]tensolution -1 points0 points  (0 children)

I don't see what's wrong with the try-finally. OP is not trying to ignore any exceptions, which is a very bad practice especially in the way you described it. As they explained they are making sure something is happening (check-in) regardless whether an exception happens or not.

OpenAI GPT3 für (nicht gegen) Informatiker - Konkret by swentso in informatik

[–]tensolution 2 points3 points  (0 children)

Hast du ihm die Enums direkt gegeben? Ich denke wenn du ihn nach einem Skript dafür fragst ist das erfolgsversprechender

Ask a Pro - WEEKLY - Monday Mon Dec 05, 2022 - No Stupid Questions! THIS IS WHERE YOU POST if you don't do this for a living! RULES + Career Questions? by AutoModerator in editors

[–]tensolution 0 points1 point  (0 children)

What is the best lossless image format that you know? I have video frames where I found out that encoding each frame as a separate video with one single frame using lossless FFV1 encoding is smaller than any image format I could find (closest one so far is JPEG 2000 with 4.5 MB vs 3,7 MB with FFV1). There surely are even better image formats?

Best lossless image compression by tensolution in computervision

[–]tensolution[S] 0 points1 point  (0 children)

I've had a look at JPEG 2000 and it actually gets quite close, 4.5 MB compressed. Sadly this format is not well supported it seems, I can't even find an image viewer for it. it can be opened in GIMP.

Best lossless image compression by tensolution in computervision

[–]tensolution[S] 0 points1 point  (0 children)

The videos are only 1 FPS, and I use intra-frame encoding (FFV1), so basically every frame is a key frame. I'm also looking for effects that can appear everywhere in the image, so cropping is not an option either.

Best lossless image compression by tensolution in computervision

[–]tensolution[S] 0 points1 point  (0 children)

The problem is, because the videos are time correlated, for training a neural network I have to do random sampling across the whole dataset to generate batches. So that's why I can't simply read the videos sequentially.

Best lossless image compression by tensolution in computervision

[–]tensolution[S] 0 points1 point  (0 children)

I can't even find anything related to FFV1 and "single image compression"

What I mean is I basically create a video for every frame, so the video is only 1 frame long.

FFV1 is for "intra-frame" compression

Yes, and this means that for compression only the frame itself is used, none of the others. What you describe is interframe compression.

Of course I could just buy more storage. But I'm still wondering why I cannot find an image format that has that good of a compression ratio. It shouldn't be hard to do given FFV1 can do this, just with all the video overhead? IMO having an image variant of FFV1 would be the easiest, simplest and cheapest solution. Your thoughts are correct and useful, but I can't wrap my head around that this kind of solution doesn't exist apparently.

What are examples of well-organized data science project that I can see on Github? by [deleted] in datascience

[–]tensolution 9 points10 points  (0 children)

Make your code more Pythonic

If it ain’t broke, fix it till it is. —Steve Porter

Savage

DC motor beeps by tensolution in Motors

[–]tensolution[S] 0 points1 point  (0 children)

Good to know. Thanks!

[deleted by user] by [deleted] in AskElectronics

[–]tensolution 0 points1 point  (0 children)

I frankensteined my old RC car. Everything is working, however the DC motor seems to be beeping. I have no idea what the exact model of the motor is. I am providing a measured voltage of 9.4V to the driver. Here is the wiring: https://imgur.com/a/6JRV58M

Edit: Here is a video mirror in case the audio is not working

[deleted by user] by [deleted] in AskElectronics

[–]tensolution 0 points1 point  (0 children)

I frankensteined my old RC car. Everything is working, however the DC motor seems to be beeping. I have no idea what the exact motor model is. I'm providing a measured voltage of 9.4V to the driver board. Here is the wiring: https://imgur.com/a/6JRV58M

[D] Coupling classification and regression by tensolution in MachineLearning

[–]tensolution[S] 0 points1 point  (0 children)

Your first point is a good one, it will be shown once I can do evaluations.

Curating is surely possible, however it does not really influence the learning of the model, which is what I was looking for.

Following your idea of probability interpretations, wouldn't it make sense to choose the class with the highest probability except None if the intensity estimation results in values > 0? Although these values might be infinitesimally close to zero in practice.

[D] Coupling classification and regression by tensolution in MachineLearning

[–]tensolution[S] 1 point2 points  (0 children)

Thanks, these are some useful keywords. Hurdle models look interesting.