Giter Site home page Giter Site logo

junsu-cho / proxysr Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 3.0 4.72 MB

ProxySR (Unsupervised Proxy Selection for Session-based Recommender Systems, SIGIR'21)

Python 100.00%
session-based-recommender-system recommender-system proxy general-interest proxysr

proxysr's People

Contributors

junsu-cho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

proxysr's Issues

Software environment

Hi! I failed to run this model due to syntax errors (e.g. line 79 in main.py). Even though I have fixed these errors, the training still broke.

Do you know how to fix this?


Downloads/ProxySR-main/main.py:213: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
target *= torch.tensor(valid).to(torch.long).to(device)
Traceback (most recent call last):
File "Downloads/ProxySR-main/main.py", line 239, in
main()
File "Downloads/ProxySR-main/main.py", line 88, in main
recalls, mrrs = validate(val_data, model, K, tau)
File "Downloads/ProxySR-main/main.py", line 214, in validate
distance = model(sess, length, tau, valid, train=False)
File "Downloads/ProxySR-main/venv/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "Downloads/ProxySR-main/model.py", line 127, in forward
return self.test_phase(batch_size, isValidSession, p_s, s_s_proj[:, -1, :], I_emb, v)
File "Downloads/ProxySR-main/model.py", line 151, in test_phase
if not isValidSession[i]: continue
RuntimeError: CUDA error: an illegal instruction was encountered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=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.