New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error:03000086:digital envelope routines::initialization error #135
Comments
I found a nice project that may meet your needs. advimman/lama#69 (comment) |
Thanks, I already tried that one. The results didn't come out like I'd
hoped (could have possibly been an error in how I did it). Basically, I
shrank an image, created a mask that highlighted the border (between the
shrunken image and the perimeter of the original size), then had the
program inpaint, then repeated the process 100 times. My intention was to
have the AI "zoom out" way beyond the original confines of the picture and
see what happens. All I got in the masked area was noisy grey, though.
…On Fri, Nov 18, 2022 at 10:41 PM Qing ***@***.***> wrote:
I found a nice project that may meet your needs. advimman/lama#69
(comment) <advimman/lama#69 (comment)>
<https://user-images.githubusercontent.com/42510606/146686067-b762d541-6bbe-45e0-b315-952a2f4632b2.gif>
—
Reply to this email directly, view it on GitHub
<#135 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAPCWUUVYSFZSULGOPJCITWJBD6NANCNFSM6AAAAAASFB5KN4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Change your
This will fix this this issue. Alternatively downgrade to node.js v16. |
@inhahe Sounds like you want to do outpainting, here is the example from OpenAI Dalle2 2022-11-19.21.04.55.movLaMa model does not suitable for this task, you may check stablediffusion-infinity project. Girl.with.a.Pearl.Earring.mp4 |
In fact, if you don't want to develop front-end code, you do not need to compile front-end code, it's pre-compiled in the git repository, just start the server from the git repository root dir python3 main.py --model lama |
I just installed yarn.
When trying to run the frontend using "yarn start" or trying to do "yarn build" on Windows 10, I get an error:
D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app>"C:\Program Files\nodejs\node_modules\corepack\shims\yarn" start
i 「wds」: Project is running at http://192.168.56.1/
i 「wds」: webpack output is served from
i 「wds」: Content not from webpack is served from D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\public
i 「wds」: 404s will fallback to /
Starting the development server...
D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\react-scripts\scripts\start.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\webpack\lib\NormalModule.js:417:16)
at D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\webpack\lib\NormalModule.js:452:10
at D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\webpack\lib\NormalModule.js:323:13
at D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at D:\py\lama-cleaner\lama-cleaner-main\lama-cleaner-main\lama_cleaner\app\node_modules\babel-loader\lib\index.js:59:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.12.1
I want to modify the server code to not be a server and to run on automatically modified images with automatically generated masks, the only reason I'm trying to run the frontend is to try to figure out some default/good values for some of the config variables:
config = Config(
ldm_steps=form["ldmSteps"],
ldm_sampler=form["ldmSampler"],
hd_strategy=form["hdStrategy"],
zits_wireframe=form["zitsWireframe"],
hd_strategy_crop_margin=form["hdStrategyCropMargin"],
hd_strategy_crop_trigger_size=form["hdStrategyCropTrigerSize"],
hd_strategy_resize_limit=form["hdStrategyResizeLimit"],
prompt=form["prompt"],
use_croper=form["useCroper"],
croper_x=form["croperX"],
croper_y=form["croperY"],
croper_height=form["croperHeight"],
croper_width=form["croperWidth"],
sd_mask_blur=form["sdMaskBlur"],
sd_strength=form["sdStrength"],
sd_steps=form["sdSteps"],
sd_guidance_scale=form["sdGuidanceScale"],
sd_sampler=form["sdSampler"],
sd_seed=form["sdSeed"],
cv2_flag=form["cv2Flag"],
cv2_radius=form['cv2Radius']
)
The text was updated successfully, but these errors were encountered: