fc4
fc4 copied to clipboard
Run in Python3
in step b), when I run 'show_pathces.py', it would appear the following bug. I can't find the solution about this bug?
QObject:: moveToThread: Current thread (0x1e60d60) is not the object's thread (0x2e6dca0). Cannot move to target thread (0x1e60d60)
I also want to know, whether the 'show_patches.py' is for data argument? is it necessary to run this code? And are there any other considerations when I run your code in Python 3?
Some differences did exit between python3 and 2, while 'show_patches.py' is not necessary. I think you need to translate the language from python 2 to python3 in your future simulation. ''And are there any other considerations when I run your code in Python 3?''----Yes, same as the step b)
hi,i met another problem which show :async = AsyncTaskManager(task) SyntaxError: invalid syntax any problem with the code?
async become a Keyword in python3 ,so you should not use it as a variable name,change it will be recommended. Besides,When you run the show_patch in python3, you should also add:from datasets import ImageRecord in the code,So you can load the .pkl successfully
FYI we have a version ported to Python3 at https://github.com/hurlbertvisionlab/fc4-python3, let me know if there was an interest in PR.