Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个已经由dynet库训练的模型。但是我在训练这个模型时忘记了--dynet-seed参数。有谁知道如何从保存的模型中读回这个参数?提前感谢您的任何反馈。
您无法回读种子参数。Dynet 模型不保存种子参数。显而易见的原因是,在测试时不需要它。种子仅用于为不同的实验运行设置固定的初始权重、随机改组等。在测试时,不需要参数初始化或改组。因此,无需保存种子参数。
据我所知,tensorflow、pytorch 等其他库都没有保存种子参数。