nwojke / mcf-tracker

A simple multi-object tracker based on the mcf library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pointer being freed was not allocated

hxtkyne opened this issue · comments

hi, when i use "python motchallenge_trainer.py", an error occur, that is ''
python(11193,0x7fff8b460340) malloc: *** error for object 0x15171953e8: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
"
Could you help me to solve this problem?

the problem is caused by generate_detections.py, but i cannot solve it.

i have solved the problem, in motchallenge_trainer.py, i change the import order below:
import os
import argparse
import pickle
import matplotlib.pyplot as plt
import generate_detections

import pymotutils
from pymotutils.contrib.datasets import motchallenge
import min_cost_flow_pymot

but i still don't know why

I could not yet reproduce the problem. I'll leave the issue open for now.