yoadtew/test 🖼️🔢📝 → ❓

▶️ 147 runs 📅 Dec 2021 ⚙️ Cog 0.1.3+shimmed
image-captioning image-combination text-generation

About

Example Output

Output

[object Object]

Performance Metrics

17.05s Prediction Time
56.74s Total Time
All Input Parameters
{
  "image1": "https://replicate.delivery/mgxm/9dd73204-a0b0-408a-ac82-fe685e0831c6/woman2.jpg",
  "image2": "https://replicate.delivery/mgxm/e1fe8d27-eb1d-4b2c-8ee0-a34f9596ca7c/king2.jpg",
  "image3": "https://replicate.delivery/mgxm/8e8fd5f5-9fe6-4948-a0dd-00f6a3ba54ad/man2.jpg",
  "beam_size": 3,
  "cond_text": "Image of",
  "end_factors": 1.06,
  "ce_loss_scale": 0.2,
  "max_seq_lengths": 3
}
Input Parameters
image1 Type: string
Final result will be: image1 + (image2 - image3)
image2 Type: string
Final result will be: image1 + (image2 - image3)
image3 Type: string
Final result will be: image1 + (image2 - image3)
beam_size Type: integerDefault: 3Range: 1 - 10
Number of beams to use
cond_text Type: stringDefault: Image of a
conditional text
end_factors Type: numberDefault: 1.06Range: 1 - 1.1
Higher value for shorter captions
ce_loss_scale Type: numberDefault: 0.2Range: 0 - 0.6
Scale of cross-entropy loss with un-shifted language model
max_seq_lengths Type: integerDefault: 3Range: 1 - 20
Maximum number of tokens to generate
Output Schema

Type: arrayItems Type: object

Example Execution Logs
07/02/2022 10:28:11 | [' a %% -3.1501348', ' the %% -3.1840558', ' Princess %% -3.9033256']
/root/.pyenv/versions/3.8.12/lib/python3.8/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values.
07/02/2022 10:28:18 | [' the Queen %% -2.9489675', ' the queen %% -3.393786', ' a woman %% -3.476828']
To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at  /pytorch/aten/src/ATen/native/BinaryOps.cpp:467.)
  return torch.floor_divide(self, other)
07/02/2022 10:28:26 | [' the Queen. %% -2.5544732', ' the queen. %% -2.7696526', ' a woman. %% -2.799248']
Version Details
Version ID
a315a926b5dbb1f1ef126a36469a283b587d84ba830127a3f23c185cd0a4918e
Version Created
February 7, 2022
Run on Replicate →