365DaysOf Research & Learning Frenzy

365DaysOf Research & Learning Frenzy Documenting My Daily Research & Learning Journey

009 of 365
31/01/2022

009 of 365

008 of 365
31/01/2022

008 of 365

007 of 365
29/01/2022

007 of 365

006 of 365
29/01/2022

006 of 365

005 of 365
29/01/2022

005 of 365

004 of 365
28/01/2022

004 of 365

003 of 365
28/01/2022

003 of 365

002 of 365
28/01/2022

002 of 365

001 of 365
28/01/2022

001 of 365

๐Ÿ› [๐Ÿ‘๐Ÿ๐Ÿ• ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“]  [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]๐Ÿ”ฉ[๐Ÿ๐Ÿ‘๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃโฃ๐“๐ž๐ง๐ฌ๐จ๐ซ๐Ÿ๐ฅ๐จ๐ฐ ๐ƒ๐ž๐ญ๐ž๐œ๐ญ๐ข๐จ๐ง ๐€๐๐ˆโฃThe Tensorflow Detection API brings to...
16/11/2021

๐Ÿ› [๐Ÿ‘๐Ÿ๐Ÿ• ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“] [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]๐Ÿ”ฉ[๐Ÿ๐Ÿ‘๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃ
โฃ
๐“๐ž๐ง๐ฌ๐จ๐ซ๐Ÿ๐ฅ๐จ๐ฐ ๐ƒ๐ž๐ญ๐ž๐œ๐ญ๐ข๐จ๐ง ๐€๐๐ˆโฃ
The Tensorflow Detection API brings together a lot of the aforementioned ideas together in a single package, allowing you to quickly iterate over different configurations using the Tensorflow backend. With the API, you are defining the object detection model using configuration files, and the Tensorflow Detection API is responsible for structuring all the necessary elements together.โฃ
โฃ
๐๐ซ๐จ๐ญ๐จ๐ฌโฃ
In order to have a better understanding of what the different supported components are, have a look at the โ€˜protos folderโ€™ which contains the function definitions. Especially, the train, eval, ssd, faster_rcnn and preprocessing protos are important when fine-tuning a model.โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃ
๐Ÿ’ฅโšซ๐Ÿšฉโš™โš’โ›โš™๏ธ

๐Ÿ“ข[๐Ÿ‘๐Ÿ๐Ÿ” ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“]  [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]โฐ[๐Ÿ๐Ÿ๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃ๐’๐จ๐ฆ๐ž ๐ ๐ž๐ง๐ž๐ซ๐š๐ฅ ๐ฉ๐จ๐ข๐ง๐ญ๐ฌ ๐ญ๐จ ๐ค๐ž๐ž๐ฉ ๐ข๐ง ๐ฆ๐ข๐ง๐ ๐ซ๐ž๐ ๐š๐ซ๐๐ข๐ง๐  ๐’๐’๐ƒ ๐š...
15/11/2021

๐Ÿ“ข[๐Ÿ‘๐Ÿ๐Ÿ” ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“] [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]โฐ[๐Ÿ๐Ÿ๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃ
๐’๐จ๐ฆ๐ž ๐ ๐ž๐ง๐ž๐ซ๐š๐ฅ ๐ฉ๐จ๐ข๐ง๐ญ๐ฌ ๐ญ๐จ ๐ค๐ž๐ž๐ฉ ๐ข๐ง ๐ฆ๐ข๐ง๐ ๐ซ๐ž๐ ๐š๐ซ๐๐ข๐ง๐  ๐’๐’๐ƒ ๐š๐ซ๐ž:โฃ
Data augmentation is very critical to better performance, especially for small objects.โฃ

The network is very sensitive to default boxes and it is important to choose the default boxes based on the dataset that it is being used on. A good strategy is to use K-means clustering to identify the right default box sizes.โฃ

Using stronger image classification networks as the base network - like Resnet, Inception, Xception - is likely to improve performance.โฃ
SSD does not work well with small objects.

One potential reason for this, discussed in this paper, is that the earlier layers which have smaller receptive field and are responsible for small object detection, are too shallow. There is also a structural contradiction where the earlier layers are supposed to learn low-level features to be passed on to the higher layers whereas also learn high-level abstraction for correctly identifying boxes.

This paper adds more context to the predictions and shows significantly higher performance on small objects. Using higher resolution images is also likely to improve performance on small objects.โฃ

80% of the forward pass time is spent in the base network. Significant improvement in inference time can be obtained by using MobileNet instead of VGG.โฃ

Using multi-scale feature maps for prediction is imperative to SSDโ€™s performance. Adding more default boxes can improve accuracy at the cost of lower speed.

โฐ๐Ÿ’ฅโšซ๐Ÿ•™๐Ÿšฉโš™๐ŸฅŠ๐Ÿ“ข

๐Ÿ’ฅ[๐Ÿ‘๐Ÿ๐Ÿ“ ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“]  [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]๐ŸฅŠ[๐Ÿ๐Ÿ๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃ๐Ÿ”๐‚๐ฅ๐ข๐ž๐ง๐ญ ๐•๐ž๐ซ๐ฌ๐ฎ๐ฌ ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐žโฃAt its core, all that Boto3...
12/11/2021

๐Ÿ’ฅ[๐Ÿ‘๐Ÿ๐Ÿ“ ๐จ๐Ÿ ๐Ÿ‘๐Ÿ”๐Ÿ“] [๐“๐จ๐๐š๐ฒ'๐ฌ ๐‘๐ž๐ฌ๐ž๐š๐ซ๐œ๐ก ๐’๐ฎ๐ฆ๐ฆ๐š๐ซ๐ฒ]๐ŸฅŠ[๐Ÿ๐Ÿ๐๐Ž๐•๐Ÿ๐Ÿ]โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃ
โฃ
๐Ÿ”๐‚๐ฅ๐ข๐ž๐ง๐ญ ๐•๐ž๐ซ๐ฌ๐ฎ๐ฌ ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐žโฃ
At its core, all that Boto3 does is call AWS APIs on your behalf. For the majority of the AWS services, Boto3 offers two distinct ways of accessing these abstracted APIs:โฃ
โฃ
๐Ÿ’ฅClient: low-level service accessโฃ
Resource: higher-level object-oriented service accessโฃ
You can use either to interact with S3.โฃ
โฃ
๐ŸฅŠTo connect to the low-level client interface, you must use Boto3โ€™s client(). You then pass in the name of the service you want to connect to, in this case, s3:โฃ
โฃ
๐˜ช๐˜ฎ๐˜ฑ๐˜ฐ๐˜ณ๐˜ต ๐˜ฃ๐˜ฐ๐˜ต๐˜ฐ๐Ÿนโฃ
๐˜ด๐Ÿน_๐˜ค๐˜ญ๐˜ช๐˜ฆ๐˜ฏ๐˜ต = ๐˜ฃ๐˜ฐ๐˜ต๐˜ฐ๐Ÿน.๐˜ค๐˜ญ๐˜ช๐˜ฆ๐˜ฏ๐˜ต('๐˜ด๐Ÿน')โฃ
โฃ
๐Ÿ’ฅFirst things Firstโฃ
Youโ€™ll need to install Boto3: pip install boto3.โฃ
Next, you need to create a credentials file in a hidden folder called โ€œawsโ€ on your local machine. Technically, you can pass your credentials directly vs creating a file, but I wouldnโ€™t recommend it.โฃ
Open a terminal and cd into a directory path like this (this is for Mac): /Users/your_name.โฃ
Create a hidden folder called โ€œawsโ€: mkdir .aws.โฃ
cd into the new hidden folder and use whatever text editor you like to create a blank file. I used vim so for me its just vim credentials.โฃ
โฃ
๐Ÿ“ขThe Python SDK for AWS, to access Amazon S3. To recap just a bit, we connected to Amazon S3, traversed buckets and objects, created buckets and objects, uploaded and downloaded some data, and then finally deleted objects and our bucket. These helpful everyday commands should get you up and running fairly quickly with S3 while giving you enough knowledge to Google anything else.โฃ
โฃ
โšซ๐Ÿ“ข๐ŸฅŠ๐ŸŽฟ๐Ÿ”ฆ๐Ÿ”

Adresse

Mรผnchen
Gemeindefreies Gebiet

Benachrichtigungen

Lassen Sie sich von uns eine E-Mail senden und seien Sie der erste der Neuigkeiten und Aktionen von 365DaysOf Research & Learning Frenzy erfรคhrt. Ihre E-Mail-Adresse wird nicht fรผr andere Zwecke verwendet und Sie kรถnnen sich jederzeit abmelden.

Teilen