Code Monkey home page Code Monkey logo

cafo's People

Contributors

hxf42 avatar zrrskywalker 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cafo's Issues

Citation?

Hi, are there any plans to release the paper on arxiv? If not, please let me know what the best way to cite your work would be by providing a bibtex entry. Thanks!

prompt generate

请问,用GPT3生成类别文本的代码有嘛? 可以公开一下嘛? 谢谢

Dall-e generated image

Hi,excellent work!I just want to know could you release the code or more detailed information of your Dall-e's generated image, I saw some well-packaged files but did not know to do reproduce the process. Thanks a lot~

cannot reproduce imagenet 16 shots result

Congratulation on your excellent work! It is truly fascinating, and I'm currently conducting experiments based on your code.

However, I'm encountering some difficulties in reproducing your ImageNet 16 shots results. Despite following your config file without making any modifications, the highest test accuracy I've been able to achieve is 68.59, which is slightly lower compared to the reported number of 68.79. I would greatly appreciate any insights or comments you might have regarding this outcome.

Open source license

I hope this message finds you well! I recently stumbled upon your amazing open source repository, and I must say, I'm truly impressed with your work. I wanted to reach out and kindly request something important: adding a license to your repository. Your project has great potential, and by including a license, you can provide clarity and legal protection for users and contributors while fostering collaboration.

Would you consider adding a commonly used open source license, such as the MIT License or Apache License 2.0?

Thank you!

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Traceback (most recent call last):
File "C:\Users\fengxiaohu\Downloads\Compressed\FSL\Prompt\CaFo-main\main.py", line 276, in
main()
File "C:\Users\fengxiaohu\Downloads\Compressed\FSL\Prompt\CaFo-main\main.py", line 175, in main
assert (os.path.exists(args.config))
File "C:\Users\fengxiaohu\Anaconda3\envs\Anaconda3\lib\genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
如何解决呢?感谢回复

RuntimeError: permute(sparse_coo): number of dimensions in the tensor input does not match the length of the desired ordering of dimensions i.e. input.dim() = 4 is not equal to len(dims) = 2

Traceback (most recent call last):
File "D:\few-shot-code\2023CaFo-main\CaFo-main\main.py", line 276, in
main()
File "D:\few-shot-code\2023CaFo-main\CaFo-main\main.py", line 234, in main
dino_cache_keys, dino_cache_values = build_dino_cache_model(cfg, dino_model, train_loader_cache)
File "D:\few-shot-code\2023CaFo-main\CaFo-main\utils.py", line 96, in build_dino_cache_model
cache_keys = cache_keys.permute(1, 0)
RuntimeError: permute(sparse_coo): The number of dimensions in the tensor input does not match the length of the desired ordering of dimensions i.e. input.dim() = 4 is not equal to len(dims) = 2
Has the author encountered this problem and how to solve it?

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.