Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Make core/agents.py not throw when curr_opt has something not in init_model_opt #3893

Merged
merged 2 commits into from
Aug 4, 2021

Conversation

moyapchen
Copy link
Contributor

@moyapchen moyapchen commented Aug 4, 2021

I've got code that currently fine-tunes something that is pretrained on a bunch of different tasks. The pretraining tasks have more opts than the fine-tune task. It keeps throwing on this line, so here's a change to fix it.

(Had this change on my local machine for about a month now, lol. Forgot that I had this in ParlAI until I put up #3892 , ran some scripts, and realized that I needed this again.)

@moyapchen moyapchen merged commit 368ab23 into master Aug 4, 2021
@moyapchen moyapchen deleted the core_agents_fix branch August 4, 2021 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants