jungmannlab / picasso

A collection of tools for painting super-resolution images

Home Page:https://picassosr.readthedocs.io/en/latest/?badge=latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem when using gpufit

sheldonxxd opened this issue · comments

  • Picasso version: latest
  • Python version: 3.8
  • Operating System: Ubuntu20.04

Description

I selected the LQ-Method and enabled the GPU fitting checkbox, then the job started and crashed for a moment.

What I Did

(picasso) fan@sjtu:~$ python -m picasso localize
/home/fan/anaconda3/envs/picasso/lib/python3.8/site-packages/picasso-0.3.1-py3.8.egg/picasso/localize.py:148: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
  ids = _np.hstack(ids_list).view(_np.recarray)
QObject::setParent: Cannot set parent, new parent is in a different thread
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?

This problem was solved. Small modifications on gpufit.py are required to make it compatible for python 3.8
I write an issue on repo of gpufit, gpufit/Gpufit#84 #