NeuACF icon indicating copy to clipboard operation
NeuACF copied to clipboard

NameError

Open Shodowelf opened this issue 4 years ago • 0 comments

Hello, Thank you for your work,when I run the code following your steps, I meet the following question, can you tell me how to solve the problem? (NeuACF) F:\NeuACF\src>python ./acf.py ../dataset/amazon/ amovie --mat "U.UIU,I.IUI,U.UICIU,I.ICI" --epochs 40 --last_layer_size 64 --batch_size 1024 --num_of_neg 10 --learn_rate 0.00005 --num_of_layers 2 --mat_select median

--mat_select median

--mat U.UIU,I.IUI,U.UICIU,I.ICI

--last_layer_size 64

--epochs 40

--merge attention

--num_of_neg 10

--learn_rate 0.00005

--batch_size 1024

--num_of_layers 2

<dataset_dir> ../dataset/amazon/

amovie

U_feature1 shape: (6170, 6170)

I_feature1 shape: (2753, 2753)

Traceback (most recent call last): File "./acf.py", line 109, in U_feature2 = pd.read_csv( U_feature_dir2, sep=",", header=None ).fillna( 0 ).as_matrix() NameError: name 'U_feature_dir2' is not defined

Shodowelf avatar Dec 22 '20 02:12 Shodowelf