Views
No views yet
Exploiting Semantic Relations for Glass Surface Detection
Jiaying Lin, Yuen-Hei Yeung, Rynson W. H. Lau
NeurIPS 2022
Paper · Project Page · Dataset (GSD-S)
| File | Description |
|---|---|
GlassSemNet.pth | Best checkpoint (917 MB), saved as a raw state_dict |
1import torch
2from model.GlassSemNet import GlassSemNet # from the code release
3
4model = GlassSemNet()
5state_dict = torch.load("GlassSemNet.pth", map_location="cpu")
6model.load_state_dict(state_dict)
7model.eval()huggingface-cli download garrying/GlassSemNet GlassSemNet.pth --local-dir ./weightspython predict.py -c GlassSemNet.pth -i /path/to/images/ -o /path/to/output/1@article{neurips2022:gsds2022,
2 author = {Lin, Jiaying and Yeung, Yuen-Hei and Lau, Rynson W.H.},
3 title = {Exploiting Semantic Relations for Glass Surface Detection},
4 journal = {NeurIPS},
5 year = {2022},
6}