I found that the model fails to re-produce the results when using the commented-out sampling strategy in Ln 37 and Ln 41 in DCMH_demo.py, i.e., sampling WITHOUT replacement, even if I shuffle the index before each training epochs. And it works well with Ln 39 ~ 40, i.e., sampling WITH replacement.
But why ?
I found that the model fails to re-produce the results when using the commented-out sampling strategy in Ln 37 and Ln 41 in DCMH_demo.py, i.e., sampling WITHOUT replacement, even if I shuffle the
index
before each training epochs. And it works well with Ln 39 ~ 40, i.e., sampling WITH replacement. But why ?