SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2301.13156 · ICLR · 2023

SeaFormer++: Squeeze-Enhanced Axial Transformer for Mobile Visual Recognition

Jiachen Lu, Li Zhang, Gang Yu, Zilong Huang, Qiang Wan

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 2 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
fudan-zvg/SeaFormer canonical 2 of 2
FunctionStatusWhere it lives
drop_path Ran fudan-zvg/SeaFormer/seaformer-cls/seaformer.py
pointer only (licence: NONE) · get_code("3ac6b7d76e8e3584")
get_shape Ran fudan-zvg/SeaFormer/seaformer-cls/seaformer.py
pointer only (licence: NONE) · get_code("ea3c9c759e695068")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Since the introduction of Vision Transformers, the landscape of many computer vision tasks (e.g., semantic segmentation), which has been overwhelmingly dominated by CNNs, recently has significantly revolutionized. However, the computational cost and memory requirement renders these methods unsuitable on the mobile device. In this paper, we introduce a new method squeeze-enhanced Axial Transformer (SeaFormer) for mobile visual recognition. Specifically, we design a generic attention block characterized by the formulation of squeeze Axial and detail enhancement. It can be further used to create a family of backbone architectures with superior cost-effectiveness. Coupled with a light segmentation head, we achieve the best tradeoff between segmentation accuracy and latency on the ARM-based mobile devices on the ADE20K, Cityscapes Pascal Context and COCO-Stuff datasets. Critically, we beat both the mobile-friendly rivals and Transformerbased counterparts with better performance and lower latency without bells and whistles. Furthermore, we incorporate a feature upsampling-based multi-resolution distillation technique, further reducing the inference latency of the proposed framework. Beyond semantic segmentation, we further apply the proposed SeaFormer architecture to image classification and object detection problems, demonstrating the potential of serving as a versatile mobile-friendly backbone. Our code and models are made publicly available at https://github. com/fudan-zvg/SeaFormer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2301.13156")
get_code_for_paper("2301.13156")
have("2301.13156")

Connect an agent — have() is free.