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

Project dependencies may have API risk issues #111

Open
PyDeps opened this issue Oct 25, 2022 · 0 comments
Open

Project dependencies may have API risk issues #111

PyDeps opened this issue Oct 25, 2022 · 0 comments

Comments

@PyDeps
Copy link

PyDeps commented Oct 25, 2022

Hi, In AB3DMOT, inappropriate dependency versioning constraints can cause risks.

Below are the dependencies and version constraints that the project is using

wheel==0.37.1
scikit-learn==0.19.2
filterpy==1.4.5
numba==0.43.1
matplotlib==2.2.3
pillow>=8.3.2
opencv-python==4.2.0.32
glob2==0.6
PyYAML==5.4
easydict==1.9
llvmlite==0.32.1

The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict.
The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.

After further analysis, in this project,
The version constraint of dependency numba can be changed to >=0.7.2,<=0.11.0.
The version constraint of dependency matplotlib can be changed to >=1.3.0,<=3.0.3.
The version constraint of dependency pillow can be changed to ==9.2.0.
The version constraint of dependency pillow can be changed to >=9.1.0,<=9.1.1.

The above modification suggestions can reduce the dependency conflicts as much as possible,
and introduce the latest version as much as possible without calling Error in the projects.

The invocation of the current project includes all the following methods.

The calling methods from the numba
random.seed
The calling methods from the matplotlib
matplotlib.use
The calling methods from the pillow
PIL.Image.fromarray
Image.open
PIL.Image.open
The calling methods from the all methods
nuscenes.eval.common.loaders.add_center_dist
AB3DMOT_libs.nuScenes_utils.nuScenes_lidar2world.translate
sample_token.results.append
frame.dets_all.dets_all.reshape
AB3DMOT_libs.utils.find_all_frames
detection_name.capitalize.capitalize
enumerate
list.append
self.load_line
cat_dict.keys
trackingEvaluation.saveToStats
best_k_matching
list
staticmethod
unmatched_trks.append
range.index
thresholds.append
boxoverlap
criterion.lower
numpy.sin
nuscenes.utils.kitti.KittiDB.project_kitti_box_to_image
xinshuo_miscellaneous.merge_listoflist.append
numpy.logical_not
self.n_igts.append
ValueError
func
numpy.argmax
self.project_rect_to_ref
cost_matrix.append
nuscenes.eval.tracking.data_classes.TrackingMetricDataList.serialize
key.self.bbox_dict.add
max
matplotlib.use
numpy.zeros_like
self.itps.append
self.project_ref_to_rect
line.split.split
result_tmp.split
md.get_metric
Munkres
print_matrix
cv2.circle
trackingEvaluation.loadTracker
diff_orientation_correction
numpy.max
PIL.Image.fromarray
nuscenes.eval.tracking.data_classes.TrackingMetricDataList
AB3DMOT_libs.nuScenes2KITTI_helper.create_KITTI_transform
ego_pose_list.np.stack.tolist.append
nuscenes.eval.tracking.data_classes.TrackingMetrics.add_runtime
numpy.expand_dims
self.__erase_primes
self.nusc.get
AB3DMOT_libs.nuScenes2KITTI_helper.create_KITTI_transform.items
bbox_coarse_hash.BBoxCoarseFilter.bboxes2dict
self.__make_matrix
munkres.make_cost_matrix
id_tmp.tracker_id_score.append
nuscenes.utils.geometry_utils.transform_matrix
numpy.average
self.visualization
self.fps.append
AB3DMOT_libs.nuScenes2KITTI_helper.save_image
obj.type.lower
AB3DMOT_libs.box.Box3D.bbox2array
open.read
AB3DMOT_libs.utils.Config
AB3DMOT_libs.io.get_frame_det
numpy.abs
trackingEvaluation.compute3rdPartyMetrics
nuscenes.eval.tracking.render.recall_metric_curve
numpy.concatenate.append
KittiDB.project_kitti_box_to_image
vars
xinshuo_io.load_txt_file
self.birth
polygon_clip
t_data.frame.f_data.append
cv2.getTextSize
self.prediction
inside
result_tmp.capitalize
self.trackers.append
numpy.linalg.norm
AB3DMOT_libs.nuScenes2KITTI_helper.load_correspondence
self.__convert_path
recall.threshold.center
self.f1_list.append
self.__clear_covers
kf_tmp.kf.x.reshape
self.orientation_correction
numpy.floor
xinshuo_video.generate_video_from_folder
list.sort
self.bbox_dict.keys
trk.kf.x.reshape
fig.add_subplot.plot
collections.OrderedDict
nuscenes.utils.data_classes.LidarPointCloud.from_file
matplotlib.pyplot.figure
nuscenes.eval.tracking.constants.MOT_METRIC_MAP.values
abs
numpy.stack
AB3DMOT_libs.box.Box3D.array2bbox
AB3DMOT_libs.vis.vis_image_with_obj
dict.items
seq_data.append
conf_thresholding
kf_tmp.kf.predict
label_file_line.split
to_fill_id.append
scripts.KITTI.munkres.Munkres
fig.add_subplot.set_ylim
time.time
matplotlib.pyplot.figure.savefig
self.__find_a_zero
os.path.realpath
AB3DMOT_libs.io.save_results
AB3DMOT_libs.nuScenes_utils.get_sensor_param
os.path.expanduser
nuscenes.eval.tracking.data_classes.TrackingMetrics
label_obj_file.write
numpy.where
zip
main
trackingEvaluation.reset
set
accumulate_class
qs.astype.astype
xinshuo_visualization.random_colors
random.seed
AB3DMOT_libs.kitti_oxts.load_oxts
numpy.asarray
self.project_rect_to_image
AB3DMOT_libs.box.Box3D.array2bbox_raw
order_vote.yaws.copy
numpy.all
trk_tmp.z.trk_tmp.y.trk_tmp.x.np.array.reshape
self.ifns.append
self.sequence_name.append
dict
int
tracker.track
numpy.vstack.append
s_dc.append
AB3DMOT_libs.box.Box3D.bbox2array_raw
greedy_matching
transform.items
nuscenes.eval.tracking.data_classes.TrackingMetricDataList.set
instance_token_list.append
oxts_packets.append
self.read_calib_from_video
nuscenes.eval.tracking.utils.print_final_metrics
value.split
os.path.join
easydict.EasyDict
AB3DMOT_libs.kitti_oxts.egomotion_compensation_ID
AB3DMOT_libs.nuScenes2KITTI_helper.convert_anno_to_KITTI
self.imu_to_velo
val.flatten.flatten
stat.plot
cv2.putText
numpy.median
img.resize.save
get_dist
nuscenes.eval.tracking.algo.TrackingEvaluation
nuscenes.utils.data_classes.LidarPointCloud.from_file.rotate
range
AB3DMOT_libs.utils.get_threshold
self.evaluate
AB3DMOT_libs.nuScenes2KITTI_helper.load_correspondence_inverse
KittiDB
self.ego_motion_compensation
PIL.Image.open
trk.info.trk.id.d.np.concatenate.reshape
munkres.Munkres.compute
AB3DMOT_libs.kitti_trk.Tracklet_3D
self.load_correspondence
self._loadData
id_frame_cache.append
cat.save_file.close
trackingEvaluation.getThresholds
self.process_affi.transpose
greedy_matching.append
line.rstrip.rstrip
matplotlib.pyplot.close
self.pad_matrix
utils.iou3d
m.reshape
type
velo_to_cam_trans.reshape
AB3DMOT_libs.nuScenes2KITTI_helper.kitti_cam2nuScenes_lidar
numpy.savetxt
nuscenes.eval.tracking.data_classes.TrackingMetrics.add_label_metric
numpy.linalg.inv
frame.all_world_rot.dot
data_tmp.split
self.gsize.corners.np.min.np.floor.astype
nusc.field2token
Image.open.save
numpy.nanargmax
velocity.tolist
numpy.transpose
self.__find_star_in_row
argparse.ArgumentParser.parse_args
good_index.ego_rot_imu.tolist
obj.convert_to_trk_output_str
copy.deepcopy.translate
ego_pose_list.np.stack.tolist
matplotlib.pyplot.xticks
os.path.exists
collections.defaultdict.values
calib_file.write
warnings.simplefilter
AB3DMOT_libs.nuScenes_utils.create_nuScenes_box
self.mail.msg
self.motp_list.append
matplotlib.pyplot.figure.add_subplot
xinshuo_miscellaneous.get_timestring
filtered.append
line.strip.split
Box3D.array2bbox
self.n_gts.append
AB3DMOT_libs.nuScenes_split.get_split
save_trk_file.write
stat
matplotlib.pyplot.tight_layout
data_protos.BBox.box2corners2d
stat.output
super.__init__
cost_row.append
numpy.save
numpy.tan
matplotlib.pyplot.axvline
self.recall_list.append
outputList.append
convex_hull_intersection
instance_token_list.index
join
AB3DMOT_libs.dist_metrics.iou.upper
kf_tmp.get_velocity
self.fp_list.append
AB3DMOT_libs.kitti_obj.Object_3D
self.createSummary_simple
rotx
unmatched_dets.append
AB3DMOT_libs.kitti_calib.save_calib_file
trk_id.index
OxtsPacket
filterpy.kalman.KalmanFilter
sys.exit
cls.lower
scipy.optimize.linear_sum_assignment
self.scores.append
AB3DMOT_libs.kitti_oxts.get_ego_traj
combine_trk_cat
nuscenes.NuScenes
trk.kf.update
numpy.ones
numpy.sqrt
roty
self.fn_list.append
savepath
argparse.ArgumentParser
os.path.join.resize
self.precision_list.append
hasattr
transform_from_rot_trans
AB3DMOT_libs.io.combine_files
trackingEvaluation.loadGroundtruth
bool
numpy.argsort
eval_file.write
self.project_rect_to_velo
obj.get_box3D
self.n_frames.append
TrackingEval.main
print
AB3DMOT_libs.kalman_filter.KF.compute_innovation_matrix
left.good_index.tolist
calib.imu_to_rect
numpy.reshape
Munkres.compute
obj.convert_to_det_str
inverse_rigid_trans
fire.Fire
seq_data.items
id_tmp.trk_id_score.append
BBox.bbox2array
numpy.concatenate
self.project_velo_to_rect
size.tolist
center
self.nusc.get_sample_data
nuscenes.utils.splits.create_splits_scenes
listfile2.read.splitlines
self.dcareas.append
numpy.array
scripts.KITTI.mailpy.Mail.msg
trackingEvaluation
frg_list.append
last_ids.index
numpy.append
os.path.join.save
AB3DMOT_libs.nuScenes_utils.nuScenes_lidar2world.rotate
AB3DMOT_libs.dist_metrics.dist_ground
weird_bbox
get_dist.upper
BBox.array2bbox
numpy.matmul
self.compute_bbox_key
line.split.lower
scripts.KITTI.mailpy.Mail
AB3DMOT_libs.box.Box3D.bbox2array.reshape
json.dump
numpy.hstack
f.readlines
numpy.concatenate.dot
numpy.zeros
line.rstrip.split
tokens.append
img.resize.resize
bbox_coarse_hash.BBoxCoarseFilter.related_bboxes
Image.open
compute_inter_2D
convex_area
rotz.dot
compute_bottom
sum
cv2.line
self.update
os.makedirs
numpy.empty
inversion_function
Box3D.bbox2array
fig.add_subplot.set_xlabel
dict.keys
self.__find_prime_in_row
tracklet_data.items
scripts.KITTI.munkres.Munkres.compute
self.process_affi
mailpy.Mail
frame.traj_id_imu.reshape.frame.ego_rot_imu.np.matmul.reshape
vis
cls.lower.append
json.load
poses.append
rotation.tolist
nuscenes.eval.tracking.constants.AVG_METRIC_MAP.keys
self.mota_list.append
matplotlib.pyplot.yticks
AB3DMOT_libs.model.AB3DMOT
KittiDB.get_boxes
val.rjust
numpy.vstack
KittiDB.box_nuscenes_to_kitti
stat.print_summary
numpy.isnan
self.sMOTA_list.append
TypeError
dc.append
computeIntersection
self.meta.copy
xinshuo_io.save_txt_file
pyquaternion.Quaternion
self.read_calib_file
xinshuo_io.load_list_from_folder
open
xinshuo_io.is_path_exists
os.path.isdir
trk_id_score.keys
dict.write
vars.items
parse_args
AB3DMOT_libs.box.Box3D.box2corners3d_camcoord
s_g.append
os.path.join.endswith
self.project_image_to_rect
line.rstrip
kitti_oxts.roty
AB3DMOT_libs.kitti_calib.Calibration
xinshuo_io.fileparts
AB3DMOT_libs.dist_metrics.m_distance
this_ids.append
self.birth.append
numpy.empty.append
self.within_range
self.gsize.corners.np.max.np.floor.astype
collections.namedtuple
fh.close
calib.rect_to_imu
numpy.cos
load_txt_file
numpy.dot
KittiDB.box_to_string
sys.stdout.flush
tData
AB3DMOT_libs.io.load_highlight
scipy.spatial.ConvexHull
self.render
sys.stdout.write
stat.update
AB3DMOT_libs.nuScenes_utils.nuScenes_world2lidar
xinshuo_miscellaneous.merge_listoflist
self.groundtruth.append
cost_matrix.reshape
mailpy.Mail.msg
self.get_param
self.fns.append
AB3DMOT_libs.dist_metrics.iou
draw_box3d_image
AB3DMOT_libs.vis.vis_obj
nuscenes.utils.kitti.KittiDB.box_nuscenes_to_kitti
AB3DMOT_libs.dist_metrics.dist3d
math.log10
matplotlib.pyplot.text
roty.dot
self.project_velo_to_ref
AB3DMOT_libs.nuScenes_utils.scene_to_samples
Box3D
ids_list.append
AB3DMOT_libs.nuScenes2KITTI_helper.save_lidar
combine_dets
self.n_trs.append
box_to_sample_result
nusc.get_sample_data
self.box_to_det_sample_result
line_data.split
bbox_coarse_hash.BBoxCoarseFilter
dets_new.append
AB3DMOT_libs.box.Box3D
AB3DMOT_libs.nuScenes_utils.box_to_trk_sample_result
recalls.append
obj.convert_to_trk_input_str
self.id_past_output.index
scripts.post_processing.combine_trk_cat.combine_trk_cat
calib.project_rect_to_image
self.project_ref_to_velo
AB3DMOT_libs.matching.data_association
get_min_max_score
AB3DMOT_libs.kalman_filter.KF.get_velocity
nusc.get
AB3DMOT_libs.kitti_obj.read_label
self.process_dets
numpy.array.sort
numpy.array.velo_to_cam_rot.round.all
json.load.items
munkres.Munkres
AB3DMOT_libs.io.get_saving_dir
l.split
data_line.split
self.output
nuscenes.utils.data_classes.Box
self.printEntry
self.MODP_t.append
vis_obj
open.write
tuple
key.ljust
numpy.array.reshape
format
translation.tolist
numpy.min
AB3DMOT_libs.kalman_filter.KF
all
numpy.nanmean
_poses_from_oxts
copy.deepcopy.rotate
gg.track_id.seq_ignored.append
get_sensor_param
nuscenes.eval.tracking.data_classes.TrackingConfig.deserialize
det_id2str.items
NameError
numpy.log
min
float
samples.append
tuple.astype
nuscenes.utils.splits.create_splits_logs
compute_affinity
numpy.empty.tolist
TrackingEval
numpy.loadtxt
numpy.isin
LidarPointCloud.from_file.rotate
os.path.dirname
check_outside_image
evaluate
x.split
velo_to_cam_rot.round
AB3DMOT_multi
AB3DMOT_libs.nuScenes2KITTI_helper.nuScenes_transform2KITTI
len
nuscenes.eval.common.loaders.filter_eval_boxes
LidarPointCloud.from_file
argparse.ArgumentParser.add_argument
nuscenes.utils.kitti.KittiDB.box_to_string
box3doverlap
PolyArea2D
main_per_cat
self.__find_smallest
n_trajectories_seq.append
nuscenes.eval.tracking.loaders.create_tracks
AB3DMOT_libs.nuScenes2KITTI_helper.load_correspondence_inverse.values
compensated.copy.copy.reshape
reversed
matplotlib.pyplot.plot
index.eval_file_dict.close
Rz.dot.reshape
nuscenes.eval.tracking.render.summary_plot
data_hl.keys
nuscenes.eval.common.loaders.load_gt
Object_3D
g.append
numpy.zeros.fill
open.close
nuscenes.eval.common.loaders.load_prediction
self.print_param
compute_height
collections.defaultdict
AB3DMOT_libs.utils.initialize
gg.track_id.seq_trajectories.append
self.plot_over_recall
numpy.roll
self.trackers.pop
self.initial_pos.reshape
self.n_itrs.append
obj_name.capitalize.capitalize
set.update
numpy.set_printoptions
yaml.safe_load
result_sha.split
copy.copy
obj.type.save_file.write
fig.add_subplot.set_xlim
pcl.points.T.tofile
sorted
det_id2str.values
trk_id_score.items
numpy.arange
self.tps.append
velo_to_cam_trans.all
line.strip.strip
nuscenes.eval.common.config.config_factory
nuscenes.eval.tracking.data_classes.TrackingMetrics.serialize
AB3DMOT_libs.nuScenes2KITTI_helper.load_correspondence_inverse.items
AB3DMOT_libs.io.save_affinity
rotz
to_fill_col.append
fig.add_subplot.set_ylabel
ids.append
nuscenes.eval.tracking.algo.TrackingEvaluation.accumulate
largest_recall.np.arange.tolist
load_list_from_folder
numpy.sum
PIL.Image.open.save
AB3DMOT_libs.io.load_detection
xinshuo_miscellaneous.print_log
self.createSummary_details
self.velo_to_imu
copy.deepcopy
any
OrderedDict
AB3DMOT_libs.utils.get_subfolder_seq
self.__find_star_in_col
warnings.catch_warnings
AB3DMOT_libs.nuScenes_utils.nuScenes_lidar2world
frame.traj_id_imu.reshape
frame_data.items
category_to_detection_name
xinshuo_io.mkdir_if_missing
self.cart2hom
super
self.ego_motion_compensation.append
nuscenes.eval.tracking.utils.category_to_tracking_name
AB3DMOT_libs.nuScenes_utils.split_to_samples
cv2.rectangle

@developer
Could please help me check this issue?
May I pull a request to fix it?
Thank you very much.

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

1 participant