Skip to content

Add TensorFlow checkpoint to PyTorch converter#8

Open
jesse1029 wants to merge 1 commit into
masterfrom
codex/convert-to-pytorch-version-91c39t
Open

Add TensorFlow checkpoint to PyTorch converter#8
jesse1029 wants to merge 1 commit into
masterfrom
codex/convert-to-pytorch-version-91c39t

Conversation

@jesse1029

Copy link
Copy Markdown
Owner

Summary

  • align the PyTorch DCGAN generator and discriminator with the TensorFlow layout to allow weight imports
  • add a conversion utility that loads TensorFlow checkpoints and saves matching PyTorch state_dict files
  • document how to run the checkpoint converter alongside the existing PyTorch training workflow

Testing

  • python -m py_compile models_64x64_torch.py train_celeba_dcgan_torch.py convert_tf_checkpoint_to_torch.py

https://chatgpt.com/codex/tasks/task_e_68da199bb25083299f8ebcee3a091df4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant