HumanML3D icon indicating copy to clipboard operation
HumanML3D copied to clipboard

Kernel crashing when trying to run cal_mean_variance.ipynb (traitlets 5.0 issue)

Open debbylin02 opened this issue 1 year ago • 1 comments

Hi there, I'm having great difficulty trying to run cal_mean_variance.ipynb because the kernel keeps crashing.

I keep hitting a traitlets 5.0 issue with the error "Supporting extra quotes around strings is deprecated in traitlets 5.0." I have already tried to follow some tips from https://stackoverflow.com/questions/67036168/kernel-died-with-exit-code-1vs-code I've already tried running the file via just the terminal/jupyter notebook instead of VS Code, reinstalling the jupyter/python extensions in vscode, as well as re-installing ipykernel via conda install ipykernel --update-deps --force-reinstall but the kernel just keeps crashing. I don't think downgrading traitlets to something below 5.0 (like 4.3.3) worked either because other dependencies (like ipykernel 6.9.1) require traitlets>=5.0.

Has anyone else experienced this issue or have any tips on how to resolve it? Any help would be deeply appreciated.

I have attached my error output from jupyter: Kernel-error.txt

debbylin02 avatar Aug 21 '23 05:08 debbylin02

Hi, Debby

I didn't encounter this issue, but I can give you an advice. My experience is using Conda or Pycharm to create the environment, and then I ran the scripts in .py. This works on my computer. By the way, the functions in that script are just some calculations, which can be done in different ways.

yufu-liu avatar Aug 22 '23 03:08 yufu-liu