Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
113 views

I am developing an AI Headshot SaaS and I am having a bit of trouble getting the Replicate models to work correctly and it's kind of confusing me. Everything works up to Replicate Training Model but I ...
overdeveloping's user avatar
0 votes
0 answers
186 views

I am trying to allow a user to upload around 5 photos so that I can pass it through 2 Replicate API Models based on a prompt. I want it so that it trains then generate image based on prompt then a ...
overdeveloping's user avatar
0 votes
0 answers
47 views

Hi everyone i have a problem and i need to solve for my project of university. One of my teachers said i needed a replicate database but when i make a simple request Model.find() return a error ...
James's user avatar
  • 19
0 votes
0 answers
27 views

I would like to create a data frame that would include a date list replicated by the levels of a factor. I can create the list pretty easily lst_dates<-as.data.frame(seq(as.Date("2024-05-07&...
Couis's user avatar
  • 1
0 votes
1 answer
333 views

I've fine tuned flux-dev model using Replicate platform. I've downloaded the weights after the training process but I do not want to generate images on web interface. Instead I want to use my local ...
Lopez's user avatar
  • 394
1 vote
1 answer
113 views

I have this code where I use six functions for Monte Carlo simulation and then calculate the 95th percentile of the resulting probability distribution for each row of the data frame I specified using ...
hadi's user avatar
  • 67
5 votes
3 answers
131 views

I'm drawing many sorted samples of size k (typically ~5) from 1:35. The code I am using is: replicate(1000000, sort(sample(1:35, size = 5)) ) But this is rather slow. I assume that since I am using ...
Mohan's user avatar
  • 9,223
1 vote
1 answer
80 views

I am trying to rewrite proxy_read_timeout for a specific route that sends requests to Replicate that has longer response times. If the AI model is cold, it takes more than 1 minute to respond and ...
Misori's user avatar
  • 63
0 votes
1 answer
211 views

I need to create the replication in clickhouse; on two different machines that are under the same network. I have tried to configure it but I have the following error: SQL Error [999] [07000]: Code: ...
Vilma Zorina Camacho Cagal's user avatar
3 votes
1 answer
133 views

I want to generate a character vector with 20 elements, each has a random string. So I generate a random string with the following code: sample(x = c(letters, LETTERS), size = sample.int(100, 1), ...
a.sa.5969's user avatar
  • 153
0 votes
2 answers
44 views

Which is the most efficient way to generate m dataframes, where each one has a variable that includes random values, and append them? Here's an example: df <- data.frame(id = 1:10, var = sample(1:...
jeff's user avatar
  • 335
0 votes
0 answers
105 views

I'm moving from Nuxt to NextJS and I've been playing with it for 1 month now, so I am pretty new to the framework. I am trying to use StabilityAI-SDXL with NextJS, and it should be very ...
Jose Lopez Garcia's user avatar
0 votes
0 answers
65 views

I have a problem with saving the response to firebase cloud storage and then saving that url to the db, but it doesn't work I am logging a lot of stuff, but none actually log and I have no errors just ...
Haris Mladenov's user avatar
0 votes
1 answer
133 views

There is a previous question which asks a similar question (Is there a way to create a loop where I provide a function and dataframe and subsample it, and repeat the function with a subsample N times?)...
Birdman's user avatar
  • 45
0 votes
1 answer
588 views

I'm new to Next.js and Supabase. I'm using a webhook from Replicate to receive data from an image generation process. My goal is to store this data in my Supabase database. Here's the function I've ...
Noah Böhringer's user avatar
1 vote
1 answer
499 views

we replicate data from several databases using LogMiner. In all of DBs it works as it should except one. When I execute following commands: EXECUTE DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/oracle/...
darvud's user avatar
  • 61
2 votes
1 answer
146 views

I am fitting multiple point process model fitted using gam in spatstat (version 3.0-7). To be clear I am using a call of the general form: mppm(formula, data=hyperframe, eps=0.5, rbord=0.5, use.gam=...
Filippo's user avatar
  • 361
0 votes
1 answer
185 views

I am running code below on a GPU via: streamlit run replicate_lama2.py import os import traceback import sys import streamlit as st os.environ["REPLICATE_API_TOKEN"] = "my_key" ...
anikaM's user avatar
  • 429
0 votes
0 answers
183 views

I need to use i2vgen-xl model in Replicate website using Replicate API in Django and I need to pass an image (not URL) but it gives me this error: - input: prompt is required - input.image: Does not ...
Pv33_'s user avatar
  • 27
2 votes
2 answers
63 views

I have this matrix a = [nrow = 365, ncol = 288] and I want to double the values of the 59th row. Then it means, the new matrix will be b = [nrow = 366, ncol = 288] and the values of the 59th & ...
sehne's user avatar
  • 49
1 vote
1 answer
118 views

I am currently working on a scientific project where each sample has two or three replicates. The data (we'll call the dataframe 'raw') looks something along the lines of: | SampleID | Var1 | Var2 ...
Anna Kasper's user avatar
0 votes
0 answers
52 views

I am trying to replicates a record in my database here is my controller private Receiver $receiver; public function __construct() { $this->receiver = new Receiver(); ... } $this->...
Yousef Altaf's user avatar
  • 2,760
7 votes
1 answer
12k views

I am tying to work with the replicate model visoar/product-photo:edf42659dae0da88a26dba4912e7e4bb6c2fba25b1e1c6a5464cf220e467bce0, but when i provide him with an image and a prompt like that in page....
user avatar
0 votes
1 answer
291 views

I am using Infinispan replicated cache, and when I scale two instances of the application on separate machines, the performance significantly decreases. It is worth mentioning that the protocol used ...
maryam maleki's user avatar
1 vote
0 answers
125 views

Im using cog / replicate to deploy a model. In my cog.yaml I do the following: run: - "git clone https://github.com/152334H/tortoise-tts-fast" - "cd tortoise-tts-fast" ...
Happy Machine's user avatar
0 votes
3 answers
24k views

I am trying to: Upload a picture to a Next.js app Run it through cjwbw/real-esrgan:d0ee3d708c9b911f122a4ad90046c5d26a0293b99476d697f6bb7f2e251ce2d4 Then return the enhanced image Does anybody know ...
user avatar
0 votes
1 answer
29 views

I am having trouble centering the <p id="locations">Locations</p> . I am attempting to replicate this webpage. enter image description here Here is the HTML code that I have: &...
Jen's user avatar
  • 1
1 vote
0 answers
376 views

I am building a docker image using cog from Replicate AI. The docker image will contain a pytorch model checkpoint for image classification. I would like to pull the checkpoint file from Google Cloud ...
Alex Flint's user avatar
  • 6,927
1 vote
0 answers
14 views

This is my API request code for Replicate AI API and it is showing CORS error, and I tried adding the line below to headers but it still didn't work... 'Access-Control-Allow-Origin':'*', 'Access-...
Benjamin Sloutsky's user avatar
2 votes
1 answer
1k views

I am writing a telegram bot that will generate images using this stable diffusion model: https://replicate.com/mbentley124/openjourney-img2img I am using the replicate module. however, the code ...
xss1de's user avatar
  • 23
0 votes
1 answer
33 views

With latest version of tensorflow, I do not get replicable results. This was not a problem with older version I was running. However, when I upgraded to latest version, I lost replicability. Given ...
fickas's user avatar
  • 107
1 vote
1 answer
4k views

I'm trying to use the sadTalker AI model through replicate. The point of sadtalker is that you upload an image of a person and an audio file of someone talking, and it gives you back a deepfake video ...
Leotheperegrine's user avatar
0 votes
1 answer
3k views

When I try to execute this POST request I get a cors-policy error. If I set mode to no-cors I get a caught (in promise) TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation error. What ...
Captai-N's user avatar
  • 1,572
2 votes
1 answer
106 views

I am trying to generate 1000 numbers using exponential distribution with parameter 1. After setting the seed value to 1, I tried both rexp(1000, 1) and replicate(1000, rexp(1, 1)), but the medians of ...
Kana's user avatar
  • 21
0 votes
1 answer
94 views

I am a Full Access administrator as well as all other kinds of administrators (Administrators, Database Administrators etc.) except the restrictive groups such as Restricted System Administrator. With ...
Filip Kowalczyk's user avatar
2 votes
2 answers
296 views

I know from this answer how to duplicate rows of a dataframe. That's fine if you want to repeat the rows n times. I want to do something similar but to also add a prefix within a column of newly ...
Union find's user avatar
  • 8,280
3 votes
0 answers
2k views

I'm using optuna to tune LGBM. Random seeds had been set but each time Optuna got different set of best params. Here's my optuna code: def get_hpo_params(opt_X_train, opt_X_val, opt_y_train, opt_y_val,...
Cherry Wu's user avatar
  • 4,114
0 votes
0 answers
256 views

i tried to use this code and everythink looks quite cool but everytime im gettin an big error after second from starting from discord import Intents from discord.ext import commands from dotenv import ...
Roman Hoffmann's user avatar
-4 votes
1 answer
173 views

Is there any way to train a machine learning algorithm to learn from results of another and then clone it? Tried clone with scikit learn but keeps getting different results with the same input data
tdoxox's user avatar
  • 1
10 votes
5 answers
18k views

i´m trying to use Replicate to run some neural networks in the cloud but it yields this error message: ReplicateError: No API token provided. You need to set the REPLICATE_API_TOKEN environment ...
Omar Morales Rivera's user avatar
0 votes
1 answer
223 views

I am trying to do a line plot using ggplot on my replicated data. There are five data sets and each data has five replicates as a1, a2, a3, a4, a5. Similarly for data b I have b1, b2, b3, b4 and b5. ...
Gavin's user avatar
  • 33
1 vote
1 answer
818 views

I need to repeat a process 1000 times and save the results as I go along, but I’m not sure how to do it. Here’s what I have: x1 = runif(4000, min = 0, max = 1) x2 = runif(4000, min = 0, max = 1) y <...
bandcar's user avatar
  • 743
1 vote
2 answers
79 views

I have simulation and data structures as follows (just a toy example): foo = function(mu=0,lambda=1){ x1 = rnorm(1,mu) #X~N(μ,1) y1 = rexp(1,lambda) #Y~Exp(λ) list(x=x1,y=y1) } mu = 1; lambda = ...
John Stone's user avatar
3 votes
2 answers
225 views

I want to choose 100 houses randomly from my dataset, and find the mean value of their total price. Then repeat this action 100 times, and for each time I repeat the action, calculate the mean price. ...
Jim's user avatar
  • 55
3 votes
0 answers
232 views

I'm considering Cog and Triton Inference Server for inference in production. Does someone know what is the difference in capabilities as well as in run times between the two, especially on AWS?
Dolev Shapira's user avatar
0 votes
0 answers
2k views

USTRUCT() struct FTestStruct { GENERATED_USTRUCT_BODY() private: UPROPERTY(EditAnywhere) float Something; UPROPERTY() UMyObject* Object; ...
CicadaKim's user avatar
  • 113
1 vote
2 answers
48 views

I want to repeat a particular query on a large dataset and I am sure the answer to my question is quite basic, but after reading various sources on 'for' loops, repeat and replicate functions for ...
user197410's user avatar
2 votes
2 answers
518 views

I have a dataframe with a datetime column in string type, like this: >>> df2 date a b 0 2020/1/1 8.0 5.0 1 2020/1/2 10.0 7.0 2 2020/1/3 6.0 1.0 3 2020/1/4 6.0 3.0 ...
skywave1980's user avatar
0 votes
1 answer
53 views

I am solving numerically stochastic differential equation with use of diffeqr in R, check if the last value is large enough and replicate the process for 5 times. The piece of code for this part is: ...
Nimd.at's user avatar
  • 23
1 vote
3 answers
64 views

I am trying to create a vector where I have 3 repetitions of the number 1, then 3 repetitions of the number 2, and so on up to, for instance, 3 repetitions of the number 36. c(1,1,1,2,2,2,3,3,3,4,4,4,...
Cameron's user avatar
  • 95

1
2 3 4 5
7