Multi-threaded compression?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python, tensorflow
- 領域
- data, performance
調査の方向性
まず tfds.features.Tensor と tfds.features.Encoding.ZLIB のドキュメントを読み、次に Tensor の例がどのようにエンコードされるかを追跡し、圧縮オプションについて tf.io 名前空間を確認します。大規模なデータセットのビルドに対して、マルチコア圧縮のサポートされたアプローチ、またはより高速な汎用 Tensor 圧縮方式が定義され、検証された場合にのみ issue は完了です。
索引モデルが issue の本文から書いたものです。
説明
What I need help with / What I was wondering
I need to build a large dataset of imagery that has > 3 channels (multi-spectral satellite imagery), so I'm relying on the tfds.features.Tensor feature connector. As writing data uncompressed is highly inefficient, I'm using tfds.features.Encoding.ZLIB for compression.
However, this compression step actually becomes the bottleneck in my dataset building process as it is single-threaded, causing my dataset build to take longer than a month.
What I've tried so far
Read up on the docs, also checked the tf.io namespace for any possible workarounds.
It would be nice if...
- Is there any way of speeding up the encoding/compression of the examples by using multiple cores?
- Are there plans to support a faster compression method than
ZLIBfor generic Tensor features?
- 主要言語
- Python
- スター
- 4.6k
- フォーク
- 1.6k
- 平均マージ
- 14時間 3分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tensorflow/datasets のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tensorflow/datasets#11260 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tensorflow/datasets#11253 ·
-
DatasetInfo.read_from_directory reads the deprecated FieldDescriptor.label eagerly, warning on every open対応中かも @jabrailkhalil が 48 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tensorflow/datasets#11245 · コメント 1 件 ·
-
required dependency on importlib_resources missing対応中かも @ArS377 が 128 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tensorflow/datasets#11212 · コメント 2 件 · リアクション 1 件 ·
-
C4 badwords filter: capitalized entries in upstream wordlists never match (text is lower-cased, list entries are not)対応中かも @Jefferyjia が 3 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
tensorflow/datasets#11258 ·
tensorflow/datasets の issue をすべて見る
似ている issue
-
difficulty:1 documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MakazhanAlpamys/Soup#3533 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
onyx-dot-app/onyx#18730 ·
メンテナーはふだん 1 日以内に返信
-
namespace team:operations
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
EclipseFdn/open-vsx.org#16509 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
langflow-ai/langflow#16689 ·
メンテナーはふだん 1 日以内に返信
-
ScoringSystem.get() and compute() return NotImplementedError instead of raising it対応中かも @sc-lacanlale が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
aboutcode-org/vulnerablecode#2552 ·
メンテナーはふだん 5 日以内に返信