ccshan
2018-6-26 14:56:27

(sorry, rain delay till ~11:30am)


ccshan
2018-6-26 21:19:02

@rjnw In the reply that Huang just sent, here’s one bit that might help you debug AugurV2 NB: “Another thing that could be going wrong is that the dtype in the Python is incorrect. For example, if you said doc : Vec Int in the model but in Python what you passed in as doc had dtype=float64, then there would be issues.”


rjnw
2018-6-26 21:21:22

hmm, we are not even specifying the type for doc, let me try with explicit type


rjnw
2018-6-26 21:26:10

no difference after giving dtype


ccshan
2018-6-26 21:43:46

@rjnw I’m not sure what you mean by giving dtype — can you explain by giving the diff for the change you tried just now?



rjnw
2018-6-26 21:45:52

I added dtype argument to each np.array function


ccshan
2018-6-26 21:47:16

I see. It’s int32, not int64, right?


rjnw
2018-6-26 21:56:28

I used int32 as the experiments in augur use int32


ccshan
2018-6-27 06:39:57

Can you use gdb or printf in the generated code to make sure it’s accessing the bytes as the intended numbers?