Closed rabiaali95 closed 5 years ago
Also if i use the provided tracking then there is an error in generating formatted txt. The error is as follows
begin tracking for resources/data/TRAFF/TRAF13...
DATASET densepeds: resources/data/TRAFF
TRAF13 0.014071941375732422
finished tracking for resources/data/TRAFF/TRAF13...
Formatting resources/data/TRAFF/TRAF13 for prediction...
/hdd/local/sda/rabia/TrackNPred/model/Tracking/hypo_formatter.py:46: UserWarning: loadtxt: Empty input file: "<_io.TextIOWrapper name='resources/data/TRAFF/TRAF13/hypotheses.txt' mode='r' encoding='UTF-8'>"
hypo_mtrx = np.loadtxt(f, delimiter=',')
Traceback (most recent call last):
File "main_cmd.py", line 123, in
How to solve this as well?
Thanks, we will get to this soon.
Now this issue is fixed.
I ran detection and tracking from scratch for TRAF13 dataset. Detection is done successfully but for tracking i am facing with the following error. Can you please guide how to get rid of this
finished detection for resources/data/TRAFF/TRAF13... begin tracking for resources/data/TRAFF/TRAF13... TRAF13 Processing TRAF13 2019-08-30 13:28:03.614975: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile. DATASET densepeds: resources/data/TRAFF Traceback (most recent call last): File "main_cmd.py", line 109, in
model.tracking(args.dir, DATA_FOLDER.format(i), False)
File "/hdd/local/sda/rabia/TrackNPred/model/model.py", line 130, in tracking
densepeds(dataDir, data_folder, display, thread)
File "/hdd/local/sda/rabia/TrackNPred/model/Tracking/DensePeds.py", line 304, in densepeds
run(sequence_dir, detection_file, output_file, matlab_file, min_conf, nms, min_det_ht, max_cos_dist, nn_budget, disp, thread)
File "/hdd/local/sda/rabia/TrackNPred/model/Tracking/DensePeds.py", line 227, in run
visualizer.run(frame_callback, thread)
TypeError: run() takes 2 positional arguments but 3 were given
(trackNpred) rabia@vivace-server:~/TrackNPred$