linjianz / tf-flownet

This is an implementation of FlowNet with tensorflow
10 stars 7 forks source link

Code problems #4

Open 18hpzhu opened 5 years ago

18hpzhu commented 5 years ago

Hello, when I was studying your code, I had the following problems: ValueError: Shapes (2,?, 384, 512, 3) and () are incompatible. Would you like to know how to solve this problem?

linjianz commented 5 years ago

Maybe just debug the code and compare the data with shape (2, ?, 384, 512, 3) and ()...

18hpzhu commented 5 years ago

Hello, I have a question about the code you gave me: dir_restore = 'model/flownet_simple/20170629_1/model-3125'. Restore the model of train_flownet_simple, right? And after I trained with the train_flownet_simple code, it failed to import the model in test_flownet_simple. What's wrong with that? This is the result of the generated model file after running the trai_flownet_simple code: image

18hpzhu commented 5 years ago

Hello, I have a question, how can I use my own data pictures to generate.flo files? As a label for training. Thank you very much!