jsup.GEN - working on image-to-image generation with AI

Image
by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-gen-working-on-image-to-image-generation-with-ai Hello, this is @joviansummer(witness: @jswit). I'd like to share what I'm working on regarding my experintal jsup.GEN project, which tries to connect image generation AI with Steemit. Currently, jsup.GEN provide function to generate image from test prompt(txt2img). This function is interesting, but it's not easy to generate exactly what you want because you need to explain the image in detail with multiple keywords in English. Thus, I think it's more useful to have a function to generate image from existing reference image. I'm working on this image-to-image function, and thinking about two methods to implement it. The first method is to provide 2 commands as follows: !gen_t : This command focuses more on text prompt than reference image. The result may be quite different from reference because text prompt will have much more in...

파이썬 beem에서 블러트(Blurt) 객체 사용

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/beem-blurt


jsBLURT 작업 진행과 별도로, 파이썬의 beem 모듈에 대한 내용을 조금씩 정리해 보려고 합니다. 일단은 블러트를 기준으로 하지만 스팀이나 하이브에서도 크게 다르지 않기 때문에 파이썬을 사용하는 개발자에겐 나름 참고자료가 될 수 있으리라고 생각합니다.

파이썬 beem의 깃허브 페이지는 아래의 링크입니다.

https://github.com/holgern/beem

깃허브 페이지의 내용을 보면 스팀/하이브 대응 파이썬 라이브러리인 것 같지만, 블러트에서도 사용 가능합니다.

사용법은 아래의 링크에서 볼 수 있습니다.

https://beem.readthedocs.io/en/latest/

블러트 객체를 이용해서 블럭체인 파라메터를 확인해 보겠습니다. 블러트의 기본 rpc 노드는 rpc.blurt.world입니다.

from beem import Blurt

# 블러트 rpc 노드
blurt_node = ["https://rpc.blurt.world"]

# 블러트 객체 생성
blurt = Blurt(node=blurt_node)

# 블럭체인 파라메터 출력
print(blurt.chain_params)

{'chain_id': 'cd8d90f29ae273abec3eaa7731e25934c63eb654d55080caff2ebb7f5df6381f', 'min_version': '0.0.0', 'prefix': 'BLT', 'chain_assets': [{'asset': '@@000000021', 'symbol': 'BLURT', 'precision': 3, 'id': 1}, {'asset': '@@000000037', 'symbol': 'VESTS', 'precision': 6, 'id': 2}]}

이제 여기서부터 블러트 rpc 노드와의 통신을 통한 다양한 작업을 파이썬으로 개발할 수 있습니다. 사용법 페이지에 Blurt 객체에 대한 내용이 없다는 것이 조금 불편합니다만, Hive 객체에 대한 내용을 기반으로 적당히 이리 저리 시험해 보면 됩니다.

Account 등 다른 객체들은 스팀/하이브/블러트와 무관하게 사용하게 되므로 코드를 재사용할 수 있어 편리합니다.


@joviansummer의 스팀 프로젝트

스팀 증인노드를 운영중입니다. @jswit에 증인투표해 주시면 감사하겠습니다.
(https://steemitwallet.com/~witnesses)

jswit 증인 노드 프로젝트를 시작합니다.

jsup 업보팅(upvoting) 서비스 소개

jsup 수혜자 지정 기능 추가

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기

jsup/avle code update - you don't have to write post everyday