Skip to content

error:Was __classcell__ propagated to type.__new__?  #9

Open
@xiaotang5051729

Description

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 eval_dataset
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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions