Code Monkey home page Code Monkey logo

spnet's Introduction

AcadHomepage

一个现代、响应式的个人学术主页



一些例子:

主要特点

  • 自动更新谷歌学术引用: 借助谷歌学术爬虫和github action功能,本仓库可以自动更新作者的引用数和论文引用数。
  • 支持谷歌Analytics: 你可以通过简单的配置来实现使用谷歌Analytics跟踪网页的流量。
  • 响应式的: 此主页会针对不同的屏幕尺寸自动调整布局。
  • 美观而简约: 此主页美观而简约,适合个人学术主页的搭建。
  • 搜索引擎优化: 搜索引擎优化 (SEO) 帮助搜索引擎轻松找到您在主页上发布的信息,然后将其与类似网站进行排名,并获得排名优势。

快速开始

  1. Fork本仓库到USERNAME/USERNAME.github.io,其中USERNAME是你的github用户名。
  2. 配置谷歌学术引用爬虫:
    1. 在你的谷歌学术引用页面的url里找到你的谷歌学术ID:例如,在url https://scholar.google.com/citations?user=SCHOLAR_ID 中,SCHOLAR_ID部分即为你的谷歌学术ID。
    2. 在github本仓库页面的Settings -> Secrets -> Actions -> New repository secret中,添加GOOGLE_SCHOLAR_ID变量:name=GOOGLE_SCHOLAR_IDvalue=SCHOLAR_ID
    3. 在github本仓库页面的Action中,点击*"I understand my workflows, go ahead and enable them"*启用workflows by clicking *"。本action将会谷歌学术引用的统计量数据gs_data.json到本仓库的google-scholar-stats分支中。每次修改main分支的内容会触发该action。本action也会在每天08:00 UTC定时触发。
  3. 使用 favicon-generator生成favicon(网页icon文件),并下载所有文件到REPO/images
  4. 修改主页配置文件_config.yml:
    1. title: 主页标题
    2. description: 主页的描述
    3. repository: USER_NAME/REPO_NAME
    4. google_analytics_id (可选的): 谷歌Analytics ID
    5. SEO相关的键值 (可选的): 从搜索引擎的控制台里获得对应的ID (例如:Google, Bing and Baidu),然后粘贴到这里。
    6. author: 主页作者信息,包括其他网页、Email、所在城市、大学等。
    7. google_scholar_stats_use_cdn: 使用CDN读取存储于https://raw.githubusercontent.com/的google scholar引用统计数据,防止中国大陆地区被墙无法访问的情况。但是CDN有缓存,因此google_scholar_stats_use_cdn : True时,引用数据更新会有延迟。
    8. 更多的配置信息在注释中有详细描述。
  5. 将你的主页内容添加到 _pages/about.md.
  6. 你的主页将会被部署到https://USERNAME.github.io.

本地调试

  1. 使用git clone将本项目克隆到本地。
  2. 安装Jekyll的构建环境,包括RubyRubyGemsGCCMake。可参考该教程
  3. 运行 bash run_server.sh 来启动Jekyll实时重载服务器。
  4. 在浏览器里打开 http://127.0.0.1:4000。如果你修改了网页的源码,服务器会自动重新编译并刷新页面。
  5. 当你修改完毕你的页面以后, 使用git命令,commit你的改动并push到你的github仓库中。

Acknowledges

  • AcadHomepage incorporates Font Awesome, which is distributed under the terms of the SIL OFL 1.1 and MIT License.
  • AcadHomepage is influenced by the github repo mmistakes/minimal-mistakes, which is distributed under the MIT License.
  • AcadHomepage is influenced by the github repo academicpages/academicpages.github.io, which is distributed under the MIT License.

spnet's People

Contributors

houqb avatar shoufachen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spnet's Issues

About the state of the art.

The paper achieves 82% mIoU on the Cityscapes test part, while as far as I know, several papers in ICCV 2019 get a better mIoU, it shall be better to revise the diction about the proposed SOTA conclusion.

about strip pooling

hi, can we use this way in the strip pooling that

your way----
(1)strip pooling-conv2D(3,1)-expand-
(2)strip pooling-conv2D(1,3)-expand-
=fusion((1),(2))--conv2D(1,1)

can we use this ,
(1)strip pooling-expand-
(2)strip pooling-expand-
=fusion((1),(2))--conv2D(3,3)
don't use the conv2D(3,1) and conv2D(1,3) in the middle, instead , use conv2D(3,3) after they fusion??, i am confused with it ,can you explain it ? thanks.

About SPM module

Hello, in resnet.py, if I only want to add SPM module in resnet50, I just need to add it in the exact location. Do I need to remove the average pooling and FC layer behind layer3 and layer4? If I don't want to remove the FC layer, can I?

Need your suggestions ?

HI, i am trying to design a simple module of strip pooling for my network. Would you please give me suggestions is it ok or i have to make changes in some places thanks in advance.

class StripPooling(nn.Module):
def init(self, pool_sizes):
super(StripPooling, self).init()
self.pool_sizes = pool_sizes

def forward(self, x):
    h, w = x.shape[2:]
    k_sizes = []
    strides = []
    for pool_size in self.pool_sizes:
        k_sizes.append((int(h / pool_size), int(w / pool_size)))
        strides.append((int(h / pool_size), int(w / pool_size)))

    sp_sum = x

    for i in range(len(self.pool_sizes)):
        out = F.avg_pool2d(x, k_sizes[i], stride=strides[i], padding=0)
        out = F.upsample(out, size=(h, w), mode="bilinear")
        sp_sum = sp_sum + out

    return sp_sum

Why is there only 19 categories in cityscapes_colors.txt and no background categories?

Thank for your contribution!And I have some questions I want to ask you。
Why is there only 19 categories in cityscapes_colors.txt and no background categories?
Why is it not necessary to calculate the loss function of the background class in calculating the loss function?
In the code, you set the value of the background to 255 and set ignore_label = 255. I think you ignore the calculation of the loss function of the background, and the output channel of the network is also 19 types, and there is no background prediction. Is this prediction chart accurate? It is also possible that I have overlooked the details of some code processing, and please provide guidance accordingly.

Get nan loss when training with StripPooling

Hi, there,

I tried to adapt Strip Pooling as 3D and insert to my model, but after about 20-50 iterations in a epoch, I got nan loss.
How you saw this situation?

What's the risk when run StripPooling? Is it because overflow?

But it's quite confused that the loss didn't go increase or decrease, but suddenly "nan".

Thanks a lot!

Hello, thank you for your excellent contributions. I have a question. I want to ask, I always get the error of object has no attribute '_up_kwargs' when I add the strippooling module to my own network. What is the reason? My code is as follows,

def init __ (self, nDenselayer, channels, growth, norm_layer = nn.BatchNorm2d, ** kwargs):
         super (RDB1, self) .
init __ ()
         modules = []
         channels_buffer = channels
         for i in range (nDenselayer):
             modules.append (make_dense1 (channels_buffer, growth, 3, norm_layer, self._up_kwargs))

can't reduce the value of “MainLoss ”

Hi,thanks for your code ,your job is amazing.
I meeting a problem when I'm training the model. The value of “MainLoss ” is shaking just in the beginning,can you give me some advice?
I only modify the value of "batch_size" to 2, because I only have one gpu.
Thanks.
image

About SPM structure, source code is different from the paper

Hi, thank you for your interesting work.
But I'm confused why the strip pooling module(SPM) structure is different from the paper. In the paper, the end of SPM is a sigmoid function and the output of SPM elementwise multiply x, instead of elementwise summation shown in the source code (SPNet/models/customize.py).

pretrained models download failed

Hi Andrew

When I try to download the resnet50 and resnet101 pretrained models, download failed.
the web page shows as below

AccessDenied Access Denied 7DEA2DF83DD09F16 3xD9N83ctj90a6YVRw5dD0Mrj6Y55HoulIwwQdG5U6i4DYUY/ReBaNBJCyS5BV6r+sg7zcs2WuE=

About the SPM

It is a very nice job. However, I can't find the schematic illustration strip pooling module implementation in this codebase, which is depicted in Figure.2 in the paper. Would you please provide me an explanation ?

AssertionError: Non-existent key: ade20k

Thank you for your contribution. When running test.py and train.py, the following error occurred. I want to ask why it is and how to modify it.The error is as follows:
AssertionError: Non-existent key: ade20k
I hope I can get your guidance, and I will thank you very much!
My email is [email protected]

Hello, thank you for your excellent contributions. I have a question. I want to ask, I always get the error of object has no attribute '_up_kwargs' when I add the strippooling module to my own network. What is the reason? My code is as follows, def __init __ (self, nDenselayer, channels, growth, norm_layer = nn.BatchNorm2d, ** kwargs):          super (RDB1, self) .__ init __ ()          modules = []          channels_buffer = channels          for i in range (nDenselayer):              modules.append (make_dense1 (channels_buffer, growth, 3, norm_layer, self._up_kwargs))

how to reproduce the result for cityscapes

Thanks for the valuable contribution!
I am trying to reproduce the results for cityscapes, I used the configuration file cityscapes_spnet101.yaml
The validation mIoU can only reach to ~73.x %.
my experiment runs on 4 GPUs, sync_bn is enabled.

The only thing I changed is the batchsize, i am using 12 sample in a batch.

Could you give me some hints?

download pretrained

excuse me,I tried to download many times but failed.Is there any other way to get it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.