Giter Site home page Giter Site logo

tongkunguan / ccd Goto Github PK

View Code? Open in Web Editor NEW
132.0 1.0 5.0 10.52 MB

[ICCV2023] Self-supervised Character-to-Character Distillation for Text Recognition

Home Page: https://openaccess.thecvf.com/content/ICCV2023/papers/Guan_Self-Supervised_Character-to-Character_Distillation_for_Text_Recognition_ICCV_2023_paper.pdf

Python 100.00%
scene-text-detection-recognition scene-text-recognition scene-text-segmentation super-resolution

ccd's Introduction

ccd's People

Contributors

tongkunguan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ccd's Issues

代码问题,请教

student = (
    student,
    SegHead(in_channels=config.model_seg_channel, mla_channels=128, mlahead_channels=64, num_classes=2),
    DINOHead(embed_dim, config.out_dim, use_bn=config.use_bn_in_head, norm_last_layer=config.norm_last_layer, ))
teacher = ABIDINOModel(
    teacher,
    None,
    DINOHead(embed_dim, config.out_dim, config.use_bn_in_head), )

请问这处代码是否有问题。

NameError

Dino/dataset/dataset.py
Line 16 name 'Dataset' is not defined !
Line 20 name 'PathOrStr' is not defined !
Line 40 name 'Path' is not defined !

环境问题

您好,请问这些包yaml opencv-python Pillow LMDB nltk six natsort scipy sklearn scikit-image matplotlib editdistance tqdm大致的版本是多少呀,直接pip会出现各种版本问题

Runtime error in dino_vision.py file: shape '[16, 8, 32, 512]' is invalid for input of size 131072

Hello,

I currently training your model (vit_base) on my own dataset, but this issue came up:
RuntimeError: shape '[16, 8, 32, 512]' is invalid for input of size 131072
This error came from line 56 in Dino/model/dino_vision.py

The backbone_out shape is torch.Size([16, 16, 512])

region_f = backbone_out.reshape(N, 8, 32, E).permute(0, 3, 1, 2)

Can you please explain why 8, 32 in this line?

This issue came up because I changed the patch_size=16 and use_fp16=True in the config file, but if I still remain patch_size=4 then it can normally run.

I run with batch_size_per_gpu=16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.