A Partial Replication of MaskFormer in TensorFlow on TPUs for the TensorFlow Model Garden
Purohit, Vishal, Jiang, Wenxin, Ravikiran, Akshath R., Davis, James C.
–arXiv.org Artificial Intelligence
This paper undertakes the task of replicating the MaskFormer model -- a universal image segmentation model -- originally developed using the PyTorch framework, within the TensorFlow ecosystem, specifically optimized for execution on Tensor Processing Units (TPUs). Our implementation exploits the modular constructs available within the TensorFlow Model Garden (TFMG), encompassing elements such as the data loader, training orchestrator, and various architectural components, tailored and adapted to meet the specifications of the MaskFormer model. We address key challenges encountered during the replication, non-convergence issues, slow training, adaptation of loss functions, and the integration of TPU-specific functionalities. We verify our reproduced implementation and present qualitative results on the COCO dataset. Although our implementation meets some of the objectives for end-to-end reproducibility, we encountered challenges in replicating the Py-Torch version of MaskFormer in TensorFlow. This replication process is not straightforward and requires substantial engineering efforts.
arXiv.org Artificial Intelligence
Apr-29-2024
- Country:
- North America > United States (0.14)
- Genre:
- Research Report (0.82)
- Workflow (1.00)
- Industry:
- Information Technology > Services (0.47)
- Technology: