CSAILVision / CSAILVision/LabelMeAnnotationTool

"Uncaught TypeError: Cannot read property 'time_point' of null" Error in Mask Tool

オープン
#106 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.5k
フォーク
443
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello author,

Thank you for providing such a useful tool for everyone to use.

When I use the Mask Tool to draw the mask, and press the Done button. I cannot add polygon. I can find the "**Uncaught TypeError: Cannot read property 'time_point' of null**" error message in the Console.

I can correct this error by modifying the following code:
https://github.com/CSAILVision/LabelMeAnnotationTool/blob/0e8b9f51ac528669dac27e7ddedb6aec8d1af056/annotationTools/js/handler.js#L313-L314

To:
`html_str += '' + anno.time_point[0] + '';`
`html_str += '' + anno.time_point[1] + '';`

Hope this finding can help everyone.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

annotationTools/js/handler.js の313〜314行目付近から始め、Mask Tool のフローを再現します。マスクを描画し、Done を押してから、コンソールを確認しながらポリゴンを追加してみてください。anno.time_point が null の場合にどのように処理されるかを調べます。Done とは、報告されている TypeError が発生せずにポリゴンを追加でき、生成されたアノテーション出力が有効なままであることを意味します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
computer-vision
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
58/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。