Giter Site home page Giter Site logo

Comments (2)

swuxyj avatar swuxyj commented on July 20, 2024 1

您好,我想问下,我加载了cifar10数据集,怎么找不到train、test和database.txt文件。 还想问下,我是否可以自己加载cifar10,自己生成cifar10的train、test和database.txt来运行, 还有一个疑问,为何这里cifar10数据集要单独处理?谢谢!

torchvision.datasets里面有CIFAR10,所以就不需要拿图片数据来加载数据集了。自己也可以手动处理,比如把这些数据转png存到本地,网上应该也有类似的代码。

from deephash-pytorch.

Zning98 avatar Zning98 commented on July 20, 2024

您好,我想问下,我加载了cifar10数据集,怎么找不到train、test和database.txt文件。 还想问下,我是否可以自己加载cifar10,自己生成cifar10的train、test和database.txt来运行, 还有一个疑问,为何这里cifar10数据集要单独处理?谢谢!

torchvision.datasets里面有CIFAR10,所以就不需要拿图片数据来加载数据集了。自己也可以手动处理,比如把这些数据转png存到本地,网上应该也有类似的代码。

谢谢你的回答,我已经参考你的代码(code.py)手动加载了本地下载的cifar10图片集,你的代码对我由很大的帮助,再次感谢你的分享!谢谢!

from deephash-pytorch.

Related Issues (20)

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.