e13d154ad8b2217883cbedd085ffba00d8753f40,labelImg.py,MainWindow,showBoundingBoxFromAnnotationFile,#MainWindow#Any#,1109
Before Change
basename = os.path.basename(
os.path.splitext(filePath)[0])
filedir = filePath.split(basename)[0].split("/")[-2:-1][0]
xmlPath = os.path.join(self.defaultSaveDir, basename + XML_EXT)
txtPath = os.path.join(self.defaultSaveDir, basename + TXT_EXT)
After Change
def showBoundingBoxFromAnnotationFile(self, filePath):
if self.defaultSaveDir is not None:
basename = os.path.basename(os.path.splitext(filePath)[0])
filedir = os.path.basename(os.path.dirname(filePath))
xmlPath = os.path.join(self.defaultSaveDir, basename + XML_EXT)
txtPath = os.path.join(self.defaultSaveDir, basename + TXT_EXT)
jsonPath = os.path.join(self.defaultSaveDir, filedir + JSON_EXT)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: tzutalin/labelImg
Commit Name: e13d154ad8b2217883cbedd085ffba00d8753f40
Time: 2020-11-14
Author: tzu.ta.lin@gmail.com
File Name: labelImg.py
Class Name: MainWindow
Method Name: showBoundingBoxFromAnnotationFile
Project Name: dpressel/mead-baseline
Commit Name: 7b84e22eb0e518927bc6045f714fc341e7b90fef
Time: 2019-04-08
Author: blester125@users.noreply.github.com
File Name: python/mead/tf/exporters.py
Class Name:
Method Name: create_bundle
Project Name: arraiy/torchgeometry
Commit Name: 206798edabf99a8ee4bb03ffba25968d2057bb18
Time: 2020-07-30
Author: anguelos.nicolaou@gmail.com
File Name: setup.py
Class Name:
Method Name: