-
В рамках данного проекта была проведена работа по обучению моделей для предсказания соответствия между текстовыми запросами и изображениями.
-
Исходные данные включали:
- Набор из 1000 уникальных изображений
- Датасет с наименованиями файлов изображений
- Датасет с экспертной оценкой соответствия изображений и запросов (около 15% выборки)
- Датасет с оценкой соответствия, полученной краудсорсингом (около 95% выборки)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Sometimes we need to submit only part of the form. Sure, if form has #required fields, all they will be highlighted with red, | |
//and form will not be submitted if these elements have no value. | |
//To workaround this, we can use '#limit_validation_errors' option AND custom submit function for every 'Partial Submit' button. | |
//Interesting note: when we use '#limit_validation_errors', we will see ALL form fields in _validate function, | |
//but in _submit function will be visible ONLY elements, included in '#limit_validation_errors' array!!! | |
//Case 1. The most simple. | |
//We want to make a 'reset' button, or 'previous step' button, so it must work even if some REQUIRED form elements are empty: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function _nxte_redeem_is_email_valid($email) { | |
if (empty ($email)) {return false;} | |
list($user_name, $mail_domain) = explode('@', $email); | |
if (empty($user_name) || empty($mail_domain)) {return false;} | |
$is_syntax_ok = (bool) filter_var($email, FILTER_VALIDATE_EMAIL); | |
$is_MX_exists = checkdnsrr($mail_domain, 'MX'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: up upx log down exec exec0 h t | |
CUID := $(shell id -u) | |
CGID := $(shell id -g) | |
IMAGEPHP := skilldlabs/php:73 | |
all: | exec | |
up: | |
docker run --rm --name core8 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can create a new empty branch like this: | |
$ git checkout --orphan NEWBRANCH | |
--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry. | |
The --orphan command keeps the index and the working tree files intact in order to make it convenient for creating a new history whose trees resemble the ones from the original branch. | |
Since you want to create a new empty branch that has nothing to do with the original branch, you can delete all files in the new working directory: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace modules\testmodule; | |
use Craft; | |
use craft\base\Element; | |
use craft\base\Model; | |
use craft\elements\Entry; | |
use craft\events\DefineBehaviorsEvent; | |
use craft\events\ModelEvent; |
title | date |
---|---|
《合法性的政治》阅读笔记 |
2024-03-29 |
因为最近“赵鼎新和浙大”的事,早上蹲坑掏出来《合法性的政治》随便看看,结果一口气看完了。之后又扫了一遍《社会与政治运动讲义》,因为06年成书,所以没细看。希望这里能“少摘录,少评价”,尽量几句话说清楚他的一些核心论点和论据,以及我对此的评价。
先总评一下:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
build_renamed_rocm_wheel.py | |
=========================== | |
:author: David Griffin <[email protected]> | |
:license: MIT License | |
:copyright: 2024 | |
Copyright 2024, David Griffin |
- Action: Communicate directly with the client to understand their specific requirements.
- Procedure:
- If given direct access, schedule a meeting or use communication tools like email or project management software (e.g., Jira, Notion) to discuss needs.
- If not, coordinate with a senior team member to gain access or detailed project briefs.
- Document all requirements clearly for reference throughout the project.
- Procedure:
- Action: Establish a local development environment.
- Procedure:
OlderNewer