Skip to content

Training further an ai #1

@robloxianer

Description

@robloxianer

Traceback (most recent call last):
File "C:\Users\o7_tobi\Downloads\very.simple.python.ai.discord.bot.v.002\main.py", line 222, in
start_training()
File "C:\Users\o7_tobi\Downloads\very.simple.python.ai.discord.bot.v.002\main.py", line 206, in start_training
model.load_state_dict(state_dict, strict=True)
File "C:\Users\o7_tobi\Downloads\very.simple.python.ai.discord.bot.v.002.venv\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
raise RuntimeError(
RuntimeError: Error(s) in loading state_dict for CharRNN:
size mismatch for embedding.weight: copying a param with shape torch.Size([31, 256]) from checkpoint, the shape in current model is torch.Size([24, 256]).
size mismatch for fc.weight: copying a param with shape torch.Size([31, 256]) from checkpoint, the shape in current model is torch.Size([24, 256]).
size mismatch for fc.bias: copying a param with shape torch.Size([31]) from checkpoint, the shape in current model is torch.Size([24]).

Metadata

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