Missing config.py and user_config.py files
steve3nto opened this issue · comments
In most script are the following lines
import config
import user_config
The problem is there are no such files in the repo! So I don't know how to create them from scratch.
Could someone please share the correct files so I can try running "inference.py" on my computer? Thanks!
Did you get the files? @steve3nto
Are these files available?
I also meet the problem of the absence of the two files. Please help. @CF2220160244
Could someone share the config files? Thanks @JadTawil-theonly @ranandalon @xllau @CF2220160244 @steve3nto
after doing some research of the code, indeed these two files are the missing link for running inference.py
I would summarize the variables needed to fillin the blanks as below:
config.py:
working_dataset =
strided =
gpu_memory_fraction =
colors =
autoencoder = 'ResNet' # or 'SegNet'
user_config.py:
autoencoder = 'ResNet' #or 'SegNet'
May be we can use divide and conquer to reconstruct the above two files..... Anyone would like to give a try? Let me know if I can be of help. I think the most complicated one is colors
and working_dataset
. The others may be just a number.
it seems the inference.py is not distilled enough to just run on input images: for example, if you trace the code
input_img[ind], gt = dh.get_data(ind, 'val')
still asking for ground truth files which are not needed....
I modified inference.py to get rid of not needed files and generate my "guessing" config.py and user_config.py, then I am able to run through inference.py (not without hiccop though, but solveable). Good luck for whoever would like to try it.
You may download config files here: (warning: this is not from author and it's my pure guessing...)
mtl_config_files.zip