-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issues with ipft and ivar in labels
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85be85f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tztsai , I tried to launch the NN branch for CNP2 and I get the error below in task 4. It seems like this modification prevent now task 4 to complete and get MLacc_results.csv.
Here is the error :
Traceback (most recent call last):
File "/home/surface10/mrasolon/SPINacc_index/main.py", line 217, in
res_df = ML.MLloop(
File "/home/surface10/mrasolon/SPINacc_index/Tools/ML.py", line 353, in MLloop
result = list(filter(None, pool.map(MLmap_multidim, *zip(*result))))
File "/usr/local/install/python-3.9/lib/python3.9/concurrent/futures/_base.py", line 609, in result_iterator
yield fs.pop().result()
File "/usr/local/install/python-3.9/lib/python3.9/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/usr/local/install/python-3.9/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self.exception
File "/usr/local/install/python-3.9/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/surface10/mrasolon/SPINacc_index/Tools/ML.py", line 161, in MLmap_multidim
ipft = int(varname.split("")[1])
ValueError: invalid literal for int() with base 10: 'longterm'
85be85f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems due to the different
varname
s in the CNP2 data. Can you provide the varnames there?