Skip to content

Commit

Permalink
[fix] IsADirectoryError
Browse files Browse the repository at this point in the history
  • Loading branch information
tswsxk committed Mar 23, 2021
1 parent 22cc206 commit bba36d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/mcd/test_mcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ def test_train(data, conf, tmp_path):
user_num, item_num = conf
cdm = MCD(user_num, item_num, 10)
cdm.train(data, test_data=data, epoch=2)
cdm.save(tmp_path)
cdm.load(tmp_path)
filepath = tmp_path / "mcd.params"
cdm.save(filepath)
cdm.load(filepath)

0 comments on commit bba36d3

Please sign in to comment.