Pardon my relative inexperience in Python, I am trying to run this code (taken from GitHub) but interpreter is unable to resolve the reference for ini_file_io and model (I have seen a similar post, but I am seeing the same issue both on PyCharm and MS Visual Studio Code). Directory Structure is as follows:
Here is the main.py: (both ini_file_io.py and model.py are available in same directory)
import os
import tensorflow as tf
from ini_file_io import load_train_ini #Unresolved Reference
from model import cgan_unet_xy #Unresolved Reference
def main(_):
# load training parameter #
ini_file = '../outcome/model/ini/tr_param.ini'
param_sets = load_train_ini(ini_file)
param_set = param_sets[0]
print('====== Phase >>> %s <<< ======' % param_set['phase'])
if not os.path.exists(param_set['chkpoint_dir']):
os.makedirs(param_set['chkpoint_dir'])
if not os.path.exists(param_set['labeling_dir']):
os.makedirs(param_set['labeling_dir'])
with tf.Session() as sess:
model = cgan_unet_xy(sess, param_set)
if param_set['phase'] == 'train':
model.train()
elif param_set['phase'] == 'test':
model.test()
elif param_set['phase'] == 'crsv':
model.test4crsv()
if __name__ == '__main__':
tf.app.run()
Any help will be really appreciated.

treeso we can be crystal clear here?