Open hanrelan opened 6 years ago
same question~ looking for the reply, thanks~
I had the same problem. Using this conf:
run retrieve.py 'Database/DAVIS/DAVIS_480/JPEGImages/480p/train/' 'Database/DAVIS/DAVIS_480/JPEGImages/480p/train/00000.jpg' 'Database/DAVIS/DAVIS_480/Annotations/480p/train/00000.png' --model-path='model/epoch_1_1543137729_6983747.model' --verbose
This problem is because the code is still incomplete. For each frame, "y" is supposed to be a 3-channel matrix where width and height are (frame dimensions/8), the first two channels contain the pixel's x and y coordinates, respectively, and the last channel is filled with the frame number in all pixels positions.
I got it to work by creating a function to generate "y" the same way as in davis.py > DavisDataset > getitem.
@marcelo-mendonca Could you produce good results after fixing the issue?
@zlai0 I've trained it for only a few epochs and the results are not so brilliant.
When running the online retrieval, I see the following error (truncated for brevity):
I believe this is because the y parameter (3 channel tensor with (i, j, t)) isn't being passed to the network during online retrieval. Any advice on how to fix this?
Thanks