Code Monkey home page Code Monkey logo

cliper's Introduction

CLIPER

This Is the Official PyTorch Implementation for Our Paper:

Towards Bridging the Cross-modal Semantic Gap for Multi-modal Recommendation

Package

  • numpy==1.21.5
  • pandas==1.3.5
  • python==3.7.11
  • scipy==1.7.3
  • torch==1.11.0
  • pyyaml==6.0
  • lmdb

Usage

1.Prepare the environment: Install the required packages.

pip install -r requirements.txt
git clone https://github.com/beichenzbc/Long-CLIP.git
cd Long-CLIP

2.Preprocess: Choose the dataset to complete the preprocessing process.

python process_data.py

3.run the model on the preprocessed data.

cd src
python main.py

Supported Models and Datasets

Models: BM3, DRAGON, DualGNN, FREEDOM, GRCN, ItemKNNCBF, LATTICE, LayerGCN, MGCN, MMGCN, MVGAE, SELFCFED_LGN, SLMRec, VBPR. See models' details in src/models. You also can add other recommendation models to src/models.

Datasets: Amazon datasets.

ATTENTION

To run the model of CLIPER-MMCGN, you need to install the following packages:

pip install --no-index torch_scatter -f https://pytorch-geometric.com/whl/torch-1.11.0+cpu.html
pip install --no-index torch_sparse -f https://pytorch-geometric.com/whl/torch-1.11.0+cu102.html
pip install --no-index torch_cluster -f https://pytorch-geometric.com/whl/torch-1.11.0+cu113.html
pip install --no-index torch_spline_conv -f https://pytorch-geometric.com/whl/torch-1.11.0+cu115.html
pip install torch_geometric

ACKNOWLEDGEMENT

Many thanks to enoche for their MMRec for multimodal recommendation task.

cliper's People

Contributors

standingwave33 avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

wuxinglong-hit

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.