GithubHelp home page GithubHelp logo

igui / align-macridvae-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arogers1/vbpr

1.0 0.0 0.0 18.15 MB

Processing code for building Align MacridVAE datasets

Python 0.21% Jupyter Notebook 99.79%

align-macridvae-data's Introduction

Align MacridVAE dataset generation code

This repository contains the code to generate the datasets used in the AlignMacrid VAE model presented at ECIR 2024 in this paper. The resulting dataset is published in Kaggle in https://www.kaggle.com/datasets/ignacioavas/alignmacrid-vae.

Install requirements

This code was tested in Python 3.10. We depend on some libraries like CLIP and so on. Before starting, install the required libraries using pip install -r requirements.txt

How to generate datasets

First execute one of the following notebooks to download raw reviews, item information and images. Depending on the dataset you want to generate, you would have to execute one of the following notebooks:

  • 1a_download_amazon_data.ipynb to download reviews and images for the Amazon Datasets
  • 1b_download_bookcrossing_data.ipynb to download the Bookcrossing dataset
  • 1c_download_ml_data.ipynb to download any of the Movielens datasets

To keep the notebooks smaller, the code for processing datasets is contained in three modules in the same folder amazon_dataset.py, bookcrossing_dataset.py and movielens_dataset.py. Each of them exposes functions to load the items, images and reviews as pandas dataframes.

align-macridvae-data's People

Contributors

igui avatar arogers1 avatar

Stargazers

Sagnik Roy avatar

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.