makedir(weights)