Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiaotang5051729 opened this issue Feb 28, 2024 · 1 comment
Open

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

xiaotang5051729 opened this issue Feb 28, 2024 · 1 comment

Comments

@xiaotang5051729
Copy link

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?

@xiaotang5051729
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant