Skip to content
项目

关于

A sophisticated web application that provides a web interface for neural network-based image processing. This application combines the content of one image with the artistic style of another using convolutional neural networks and the Neural Style Transfer algorithm.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Ostagram

A sophisticated web application that provides a web interface for neural network-based image processing. This application combines the content of one image with the artistic style of another using convolutional neural networks and the Neural Style Transfer algorithm.

Overview

Ostagram is a web service that implements the artistic style transfer algorithm. It allows users to create artistic images by applying the style of famous paintings or artistic works to their own photographs.

Installation

1. Clone the Repository

git clone <repository-url>
cd ostagram

2. Install Dependencies

bundle install

3. Database Setup

bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed

4. Configuration

Create a config/secrets.yml file with the following structure:

token:
  production: your_session_secret_key

workservers:
  server1:
    host: "deploy"
    username: "deploy"
    password: "your_password"
    remote_neural_path: "/home/deploy/neural-style"
    init_params: "-gpu -1 -image_size 100"
    iteration_count: 10
    admin_email: "[email protected]"

smtp_settings:
  address: 'smtp.gmail.com'
  port: 587
  domain: 'gmail.com'
  user_name: '[email protected]'
  password: 'your_app_password'
  authentication: 'plain'
  enable_starttls_auto: true

5. Start the Application

bundle exec rails server

Development

Running Tests

bundle exec rake test

Background Jobs

Start Redis and Resque workers:

redis-server
bundle exec rake resque:work

Acknowledgments

探索相关项目

加载中…