3ab517035d61e06e9d59bcc9b39b9710897e82c2,deeplabcut/create_project/new.py,,create_new_project,#Any#Any#Any#Any#Any#Any#,18

Before Change


    cfg_file
    cfg_file["Task"]=project
    cfg_file["scorer"]=experimenter
    cfg_file["video_sets"]=video_sets
    cfg_file["project_path"]=str(project_path)
    cfg_file["date"]=d
    cfg_file["bodyparts"]=["bodypart1","bodypart2","bodypart3","objectA"]

After Change


           print("Cannot open the video file! Skipping to the next one...")
           os.remove(video)  // Removing the video or link from the project

    if not len(video_sets):
        // Silently sweep the files that were already written.
        shutil.rmtree(project_path, ignore_errors=True)
        print("WARNING: No valid videos were found. The project was not created ...")
        print("Verify the video files and re-create the project.")
        return "nothingcreated"

    //        Set values to config file:
    cfg_file,ruamelFile = auxiliaryfunctions.create_config_template()
    cfg_file["Task"]=project
    cfg_file["scorer"]=experimenter
    cfg_file["video_sets"]=video_sets
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ab517035d61e06e9d59bcc9b39b9710897e82c2
Time: 2020-04-04
Author: mathis@rowland.harvard.edu
File Name: deeplabcut/create_project/new.py
Class Name:
Method Name: create_new_project


Project Name: AlexEMG/DeepLabCut
Commit Name: a51d9ee3185ae5f83b5903d6b8549257ea4f13ff
Time: 2020-04-02
Author: amathis@fas.harvard.edu
File Name: deeplabcut/create_project/new.py
Class Name:
Method Name: create_new_project


Project Name: mindsdb/mindsdb
Commit Name: 0e84d0782a5bb00e542e0ce759ebd9726780d695
Time: 2019-05-17
Author: george@cerebralab.com
File Name: mindsdb/libs/backends/ludwig.py
Class Name: LudwigBackend
Method Name: train