GithubHelp home page GithubHelp logo

saml's People

Contributors

haofusheng avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

saml's Issues

我运行你的代码时出现了一些问题

我运行你的代码时出现了一些问题:

  1. task_generator_test.py里缺少了transforms.Resize((224,224)),导致读取的图片尺寸不一样而报错。
  2. main.py里整个main函数从头到尾,完全不分函数写,不注重模块化。train dataset和test dataset数据处理是一样的,但是代码完全复制粘贴,代码顺序却还不一样。
  3. 最后希望作者能借鉴他人代码的写法,注重模块化,划分函数编写代码。
    https://github.com/WenbinLee/DN4

It does not perform well with the general experiment setting (ResNet-12 and image size 84*84)

I try to adapt the model to the general setting of few-shot learning, which adopts ResNet-12 as backbone and image size 84*84. I get the 54% 5-way-1-shot acc without pre-training and 56% 5-way-1-shot acc with pre-training, following the protocol of Meta-Baseline[1]. Such results are disappointing. So, is there any suggestion?

[1] Chen, Y., Wang, X., Liu, Z., Xu, H., & Darrell, T. (2020). A new meta-baseline for few-shot learning. arXiv preprint arXiv:2003.04390.

Performance Issue

I didn't change all the factors in your code, just fixed bugs that can not affect on results and I tested your code on CUB / miniImagenet datasets for image size 84 X 84 and 224 X 224 both.
However, I could not reach the results in your paper and the difference was quite lot.
Could you explain why this happens?

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.