Git Product home page Git Product logo

underwaterranker's Introduction

武睿祺(Ruiqi Wu)

I am a master student of TMCC, College of Computer Science, Nankai University, China, under the supervision of Prof. Ming-Ming Cheng & Dr. Chun-Le Guo. My research interests are computer vision and machine learning, focusing on AIGC and low-level vision.

Visitor count

Star History

underwaterranker's People

Contributors

guspan-tanadi avatar hlh981029 avatar rq-wu avatar srameo 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

Watchers

 avatar

underwaterranker's Issues

使用已训练好的URanker网络,不需要with torch.no_grad() ?

您好,感谢您出色的工作!我有一个疑问,在使用已训练好的URanker网络计算损失函数时,为什么不需要加with torch.no_grad()?这样optimizer.step()岂不是会更新URanker中的参数吗?如果提了愚蠢的问题,还请见谅!

UnderwaterRanker/loss.py

Lines 16 to 22 in 8e1928b

def ranker_loss(model, img):
# with torch.no_grad():
pre_input = utils.preprocessing(img)
score = model(**pre_input)['final_result']
loss = torch.mean(F.sigmoid(-score))
return loss

URankerSet Google Drive

Hello
Thanks for your great paper.
Could you please upload URankerSet to Google Drive?
Thanks.

Training the ranker has some problem!

Hello, URanker is an interesting work! So, I try to train the network on my data, but it seems to have a bug. When I run the ranker_main_train.py, the runner gets the str path of the yaml file. The contents of yaml are not parsed. It seems the ranker_main_train.py need to add a parsing function, which is coded as follows:

from runner import UIE_Runner
import argparse
import utils

parser = argparse.ArgumentParser()
parser.add_argument('--opt_path', type=str)
args = parser.parse_args()
options = utils.get_option(args.opt_path)  # the adding fuction

runner_train = UIE_Runner(options)
runner_train.main_loop()

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.