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

transfer-tune using mlp throwing NoneType error #34

Open
xintin opened this issue Nov 9, 2022 · 0 comments
Open

transfer-tune using mlp throwing NoneType error #34

xintin opened this issue Nov 9, 2022 · 0 comments

Comments

@xintin
Copy link

xintin commented Nov 9, 2022

Command (from tutorial): python3 tune_network.py --network resnet_50 --n-trials 100 --cost-model mlp-no-update --load-model mlp.pkl --transfer-tune

Error:

Traceback (most recent call last):
  File "tune_network.py", line 180, in <module>
    args.result_file, args.transfer_tune, args.search_type)
  File "tune_network.py", line 93, in tune_and_evaluate
    tuner.transfer_tune(tuning_opt, search_policy=policy)
  File "<pwd>/tenset/python/tvm/auto_scheduler/task_scheduler.py", line 574, in transfer_tune
    few_shot_learning='plus_mix_task'
  File "<pwd>/tenset/python/tvm/auto_scheduler/task_scheduler.py", line 121, in make_search_policies
    cost_model.model.fit_local(local_dataset)
  File "<pwd>/tenset/python/tvm/auto_scheduler/cost_model/mlp_model.py", line 464, in fit_local
    self.local_model[task] = diff_model
TypeError: 'NoneType' object does not support item assignment
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