Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifications (ongoing) #2

Open
2 tasks done
mixmixmix opened this issue Jan 23, 2019 · 16 comments
Open
2 tasks done

Clarifications (ongoing) #2

mixmixmix opened this issue Jan 23, 2019 · 16 comments

Comments

@mixmixmix
Copy link
Collaborator

mixmixmix commented Jan 23, 2019

This is just my little list of things to clarify about the setup (ongoing)

  • - manualOveride.ipynb only allows for adding missing boxes, not for deleting them
  • - ./tracking/yolo_detector.py from deep_sort.detection import Detection - how should I import deep sort? Are we actually using it there? @ctorney?
@ctorney
Copy link
Owner

ctorney commented Jan 23, 2019

you can delete by double-clicking in the box

@mixmixmix
Copy link
Collaborator Author

The deep_sort import is unnecessary. (I think :^)

@aakanksharathore
Copy link
Collaborator

aakanksharathore commented Jan 24, 2019

When I run train.py for 2 training images and 1 epoch, it runs for a while and then stops with error message:

tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[32,864,864,32] and type float on /job:localhost/replica:0/task:0/device:CPU:0 by allocator cpu
[[{{node leaky_0/LeakyRelu/mul}} = Mul[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](leaky_104/LeakyRelu/alpha, bnorm_0/cond/Merge)]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

Does it have something to do with my CPU allocation?

@mixmixmix
Copy link
Collaborator Author

Can you share the images you work with on google drive or dropbox?
I have a few images from Colin and I don't have any problems "toy training" on my CPU (for 1 epoch)

@aakanksharathore
Copy link
Collaborator

aakanksharathore commented Jan 24, 2019 via email

@mixmixmix
Copy link
Collaborator Author

What weights are you using?

@aakanksharathore
Copy link
Collaborator

yolo-v3-coco.h5

@mixmixmix
Copy link
Collaborator Author

Can run fine tuning using horses-yolo.h5? The training seem to work fine for me so it might have something to do with tensorflow setup.

@aakanksharathore
Copy link
Collaborator

I had set fine tuning as 0, was training only final layers. It may be something to do with my CPU and tensorflow. So, we are good to train it on the server then?

@mixmixmix
Copy link
Collaborator Author

If you want to do just final layers, the FINE_TUNING should be 1, methinks.

I think we can train on the server! The annotations look fine to me, we just need to correct the path once we upload the data (- filename: /home/aakanksha/Documents/uavTracker-master/train/yoloTrainData/frame209_6.png).

@mixmixmix
Copy link
Collaborator Author

I'm almost ready with the branch with annotations and configs in yml, which should make it a bit easier to train (since there is no need to change sourcecode each time, I hope.

@aakanksharathore
Copy link
Collaborator

Getting error while running "runTracker.py"

tracking/yolo_tracker.py", line 32, in
from filterpy.kalman import KalmanFilter
ImportError: No module named 'filterpy'

In uavTracker repository I couldn't find any file named filterpy

@aakanksharathore
Copy link
Collaborator

Hi Miks,

what should be the clip name in videos.yml file?

filename: "videos/04MarchMor2_02_03.avi"
transform: "tracks/04MarchMor2_02_03_MAT.npy"
periods:

  • {start: 14400, stop: 23400, clipname: "04MarchMor2_02_03_clip1"}

Can I give any random name? Where will we use clipname?

@mixmixmix
Copy link
Collaborator Author

Clipname will be appended to the resulting filename. So to have output file 04MarchMor2_02_03_clip1_TR.avi you just need clipname clip1.

Sorry for the late reply!

@aakanksharathore
Copy link
Collaborator

aakanksharathore commented Jun 10, 2019 via email

@mixmixmix
Copy link
Collaborator Author

Just referencing here issue which deals with two-phase fine tuning. #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants