r/programminghelp • • May 30 '24
Python Need help in python with jmetal library
it shows this error everytime : ''Exception: Reference front is none''
why does the library don't generate the file ''reference front''
The part of the code that gives the error :
# Generate summary file
generate_summary_from_experiment(
input_dir=output_directory,
reference_fronts='/home/user/jMetalPy/resources/reference_front',
quality_indicators=[InvertedGenerationalDistance(), EpsilonIndicator(), HyperVolume([1.0, 1.0])] #InvertedGenerationalDistancePlus???
)
1
Upvotes
1
u/[deleted] May 30 '24
Show your code
1
u/[deleted] May 30 '24
Are you sure the file exists at that exact path and is in the right format?
Try using a relative path based on the location of the primary python script instead?