adamerose / adamerose/PandasGUI

PandasGUI not responding

Aperta
#205 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
3.3k
Fork
239
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.