adamerose / adamerose/PandasGUI

PandasGUI not responding

Đang mở
#205 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
3.3k
Fork
239
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

System: Windows 10. Python 3.9.12

Hi. PandasGUI is not responding after appearing in VS code Jupyter notebook (see figure). It works when I do show(data, settings={'block': True}) but the jupyter cell won't stop running even after I close pandasgui. I was able to show the dataframe without problem in jupyter using data.head().

I have no issue using pandasgui with the examples in https://github.com/adamerose/PandasGUI.

Code modified from https://github.com/ultralytics/yolov5/issues/36, "Simple Example"
import torch
import pathlib
from pandasgui import show

model = torch.hub.load('ultralytics/yolov5', 'yolov5s')
im = pathlib.Path('sample_image.png')

#Inference
results = model(im)
data = results.pandas().xyxy[0]
data.head()
gui = show(data)

![image](https://user-images.githubusercontent.com/99534415/173220483-5b0e4e87-facb-4a3b-ad38-906b24a3d87b.png)
![sample_image](https://user-images.githubusercontent.com/99534415/173220636-5b76d2d8-a99d-47f1-873c-eac798c22b68.png)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.