Traceback (most recent call last):
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\eval.py", line 225, in
eval_dataset(dataset_path, width, opts.softmax_temperature, opts)
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\eval.py", line 59, in evaldataset
model, = load_model(opts.model, opts.obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\utils\functions.py", line 75, in load_model
from nets.attention_model import AttentionModel
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\nets\attention_model.py", line 11, in
from utils.beam_search import CachedLookup
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\utils\beam_search.py", line 54, in
class BatchBeam(NamedTuple):
RuntimeError: class not set defining 'BatchBeam' as <class 'utils.beam_search.BatchBeam'>. Was classcell propagated to type.new?
Traceback (most recent call last): File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\eval.py", line 225, in
eval_dataset(dataset_path, width, opts.softmax_temperature, opts)
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\eval.py", line 59, in evaldataset
model, = load_model(opts.model, opts.obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\utils\functions.py", line 75, in load_model
from nets.attention_model import AttentionModel
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\nets\attention_model.py", line 11, in
from utils.beam_search import CachedLookup
File "D:\tangqingxia\project\HFVRP_KZXB\HCVRP_DRL\fleet_v3\utils\beam_search.py", line 54, in
class BatchBeam(NamedTuple):
RuntimeError: class not set defining 'BatchBeam' as <class 'utils.beam_search.BatchBeam'>. Was classcell propagated to type.new?