Code Monkey home page Code Monkey logo

Comments (2)

nightrain-vampire avatar nightrain-vampire commented on August 22, 2024

In buffer.py, there is a line of code on line 39: data = np.load(f'{args.dataset}_{args.text_encoder}text_embed. The error message is as follows: Traceback (most recent call last) File "/root/autodl-tmp/multi/buffer.py", line 168, in main(args) File "/root/autodl-tmp/multi/buffer.py", line 39, in main data = np.load(f'{args.dataset}{args.text_encoder}_text_embed.npz') The File "/ root/miniconda3 / envs/distillation/lib/python3.9 / site - packages/numpy/lib/npyio. Py", line 417, in the load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: 'flickr_bert_text_embed.npz' Where can I download "flickr_bert_text_embed.npz"?

I also encountered the same problem. I used the COCO dataset, and the error message was: FileNotFoundError:[Errno 2] No such file or directory: 'coco_bert_text_embed.npz'. Have you solved this problem now?

from multimodal_dataset_distillation.

XindiWu avatar XindiWu commented on August 22, 2024

Hi,

I have updated the code to address this issue. Now, you can directly generate the required .npz files using the load_or_process_file function. This update should help in creating files like flickr_bert_text_embed.npz and others that were previously missing. Please pull the latest changes from the repository and let me know if you have any other questions:)

from multimodal_dataset_distillation.

Related Issues (1)

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.