gccNMF model
Opened this issue · 1 comments
xingdonw commented
hi
I try to run the file "runGccNMF.py", it shows "No module named 'gccNMF'".
I'm not sure how to fix this problem, if you can, please tell me the method to solve this problem.
best
Jalal-Abdulbaqi commented
Hi,
I have the same problem, it occurs because the folder gccNMF is in a different folder. you need to make two changes:
- in the main code file that you want to execute e.g. "runGccNMF.py", replace these lines:
from gccNMF.gccNMFFunctions import *
from gccNMF.gccNMFPlotting import *
with these:
import sys
sys.path.append('../gccNMF')
from gccNMFFunctions import *
from gccNMFPlotting import *
2. Now go to the gccNMF folder and remove each "gccNMF" from the import lines for each file.
that is work for me.