AnswerDotAI / AnswerDotAI/fastprogress
UserWarning: Couldn't import ipywidgets properly, progress bar will use console behavior
- 主要言語
- Jupyter Notebook
- スター
- 1.1k
- フォーク
- 104
- 平均マージ
- 1分
- マージ済み PR(30日)
- 1
説明
/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/fastprogress/fastprogress.py:102: UserWarning: Couldn't import ipywidgets properly, progress bar will use console behavior
warn("Couldn't import ipywidgets properly, progress bar will use console behavior")
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/tmp/ipykernel_1885/2333630497.py in
----> 1 export_point_dataset(path,output_path,
2 block_size = 100.0,
3 max_points = 8192)
/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/arcgis/learn/__init__.py in export_point_dataset(data_path, output_path, block_size, max_points, extra_features, **kwargs)
1553
1554 from ._utils.pointcloud_data import prepare_las_data
-> 1555 prepare_las_data(data_path, block_size, max_points, output_path, extra_features, **kwargs)
1556
1557
/data/private/custom_environment/pointcnn/lib/python3.8/site-packages/arcgis/learn/_utils/pointcloud_data.py in prepare_las_data(root, block_size, max_point_num, output_path, extra_features, grid_size, blocks_per_file, folder_names, segregate, **kwargs)
852
853 folders = [os.path.join(root, folder) for folder in folder_names] ## Folders are named train and val
--> 854 mb = master_bar(range(len(folders)))
855 for itn in mb:
856 folder = folders[itn]
NameError: name 'master_bar' is not defined
コントリビューションガイド
調査の方向性
まず、トレースバックにある `export_point_dataset` の呼び出しを再現し、`ipywidgets` の警告周辺にある `fastprogress/fastprogress.py` と、`master_bar` が使用されている `arcgis/learn/_utils/pointcloud_data.py` の854行目を調査します。ウィジェットのインポート警告が発生したときに、ポイントデータセットのエクスポートで `NameError: name 'master_bar' is not defined` が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, python
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100