-
Notifications
You must be signed in to change notification settings - Fork 542
Description
🐛 Bug
On executing the code in DLRM tutorial I try to clone the official repository of DLRM .
Yet i am facing errors considering 'apply_emb' and 'IntegratedGradients' .
You have mentioned versions of dlrm_s_pytorch .
I am a bit new and I have searched through a lot of sites.
Can you please help me out how to use the different versions ?
I have used the version of DLRM in the master branch but I am not able to proceed.
Need help here.
Error Message :
- embeddings = dlrm.apply_emb(lS_o_test, lS_i_test, dlrm.emb_l)
TypeError Traceback (most recent call last)
in ()
----> 1 embeddings = dlrm.apply_emb(lS_o_test, lS_i_test, dlrm.emb_l)
TypeError: apply_emb() missing 1 required positional argument: 'v_W_l'
- ig = IntegratedGradients(sequential_forward)
NameError Traceback (most recent call last)
in ()
----> 1 ig = IntegratedGradients(sequential_forward)
NameError: name 'IntegratedGradients' is not defined
Expected behavior
Environment
- Captum / PyTorch Version (e.g., 1.0 / 0.4.0):
- Colab (with GPU)
- How you installed Captum / PyTorch (
conda
,pip
, source): - Build command you used (if compiling from source):
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
- Any other relevant information:
Additional context
Need Help .
Please let me know how can I proceed with this.