adamerose / adamerose/PandasGUI

PandasGUI not responding

Abierto
#205 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
3.3k
Forks
239
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.